githelper.git/
githelper.pike
Branch:
Tag:
Non-build tags
All tags
No tags
2010-10-10
2010-10-10 19:23:05 by Martin Stjernholm <mast@lysator.liu.se>
276861ce71baaedf3d07a6253d34a34fe90c355b (
10
lines) (+
6
/-
4
)
[
Show
|
Annotate
]
Branch:
master
Improved some error messages.
394:
{ foreach(files_to_commit, string filename) if(has_suffix(filename, "/.gitattributes")) {
-
write(".gitattributes are not allowed in
subdirectories\n
");
+
write(".gitattributes are not allowed in
subdirectories;
"
+
"please remove %s\n", filename
);
return 1; }
409:
foreach(added_fi, string path) { if(!has_prefix(path, "/") || search(path, "*")>=0) {
-
write("
Added
unsupported foreign_ident: %s\n", path);
+
write("
Commit
adds
unsupported foreign_ident: %s\n", path);
return 1; } path = path[1..]; if (!entry_is_new(path)) {
-
write("
Added
foreign_ident to file %s\n", path);
+
write("
Commit
adds
foreign_ident to
existing
file %s\n", path);
return 1; } }
424:
path = path[1..]; if (search(files_to_commit, path)<0 && find_expanded_ident(get_file(path, 1))) {
-
write("
Removed
foreign_ident from unchanged file %s\n", path);
+
write("
Commit
removes
foreign_ident from unchanged file %s\n", path);
return 1; } }