githelper.git
/
githelper.pike
version
»
Context lines:
10
20
40
80
file
none
3
githelper.git/githelper.pike:415:
path = path[1..]; if (!entry_is_new(path)) { write("Added foreign_ident to file %s\n", path); return 1; } } foreach(removed_fi, string path) { if(has_prefix(path, "/")) path = path[1..];
-
if (search(files_to_commit, path)<0) {
+
if (search(files_to_commit, path)<0
&&
+
find_expanded_ident(get_file(path, 1
)
))
{
write("Removed foreign_ident from unchanged file %s\n", path); return 1; } } } return 0; } } class CommitHookUtilsRepo