It seems to me that just disabling pre-commit. If you look at the contents of .git / hooks / pre-commit, it also checks for unresolved merge conflicts, and I would like to continue checking them!
At the end of the file, it runs several regular expressions that check for spaces at the end of the line and untidy tabs. I just commented on these lines so that they would not look for them, and I got rid of the warning problem before committing.
55 if (s/^\+//) { 56 $lineno++; 57 chomp; **58
Greg robbins
source share