githelper.git/
githelper.pike
Branch:
Tag:
Non-build tags
All tags
No tags
2016-11-30
2016-11-30 17:14:46 by Henrik Grubbström (Grubba) <grubba@grubba.org>
4ef50285854b1604a5698c8d5fcbccac21c13a81 (
3
lines) (+
3
/-
0
)
[
Show
|
Annotate
]
Branch:
master
Allow .gitattributes in subdirectories.
417:
int check_gitattributes_files() { int err = 0;
+
#if 0
foreach(files_to_commit, string filename) if(has_suffix(filename, "/.gitattributes")) { write(".gitattributes are not allowed in subdirectories; " "please remove %s\n", filename); err = 1; }
-
+
#endif
if(search(files_to_commit, ".gitattributes")>=0) { GitAttributes old_attrs =