githelper.git
/
githelper.pike
version
»
Context lines:
10
20
40
80
file
none
3
githelper.git/githelper.pike:891:
foreach(files_to_commit, string filename) cleanup(filename, attrs->checkattr(filename)); string ts_test = check_commit_timestamps("HEAD"); if (ts_test) { write("NOTICE: Your commit has invalid timestamps: %s\n", ts_test); write("Please amend it before pushing.\n"); } string cm_test = check_commit_msg("HEAD"); if (cm_test) { write("NOTICE: Your commit message has an encoding problem:\n%s", cm_test);
-
write("Please
ament
it before pushing.\n");
+
write("Please
amend
it before pushing.\n");
} return 0; } } class PostRewriteHook { inherit CommitHookUtilsRepo; int hook(string command)