summaryrefslogtreecommitdiff
path: root/mktag.c
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2006-02-27 02:13:25 (GMT)
committerJunio C Hamano <junkio@cox.net>2006-02-27 05:54:14 (GMT)
commitb5767dd6605364002a96a9d039cd1f010707b4f6 (patch)
tree7e1910bbc4ac9436bda880fd93b762cdedc7193e /mktag.c
parent19bfcd5a14e647763e5ecc247ba24790f56721f3 (diff)
downloadgit-b5767dd6605364002a96a9d039cd1f010707b4f6.zip
git-b5767dd6605364002a96a9d039cd1f010707b4f6.tar.gz
git-b5767dd6605364002a96a9d039cd1f010707b4f6.tar.bz2
apply --whitespace fixes and enhancements.
In addition to fixing obvious command line parsing bugs in the previous round, this changes the following: * Adds "--whitespace=strip". This applies after stripping the new trailing whitespaces introduced to the patch. * The output error message format is changed to say "patch-filename:linenumber:contents of the line". This makes it similar to typical compiler error message format, and helps C-x ` (next-error) in Emacs compilation buffer. * --whitespace=error and --whitespace=warn do not stop at the first error. We might want to limit the output to say first 20 such lines to prevent cluttering, but on the other hand if you are willing to hand-fix after inspecting them, getting everything with a single run might be easier to work with. After all, somebody has to do the clean-up work somewhere. Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'mktag.c')
0 files changed, 0 insertions, 0 deletions