githelper.git / githelper.pike

version» Context lines:

githelper.git/githelper.pike:431:    if (!entry_is_new(path)) {    write("Commit adds foreign_ident to existing file %s\n", path);    err = 1;    }    }       foreach(removed_fi, string path) {    if(has_prefix(path, "/"))    path = path[1..];    if (search(files_to_commit, path)<0 && -  Stdio.is_file(path) && -  find_expanded_ident(get_file(path, 1))) { +  find_expanded_ident(get_file(path, 2))) {    write("Commit removes foreign_ident from unchanged file %s\n", path);    err = 1;    }    }    }    return err;    }   }      class CommitHookUtilsRepo