#769753 git commit --cleanup=whitespace should use a remove-below marker like -v does

Package:
git
Source:
git
Description:
fast, scalable, distributed revision control system
Submitter:
Josh Triplett
Date:
2014-11-16 06:36:07 UTC
Severity:
normal
#769753#3
Date:
2014-11-16 06:33:38 UTC
From:
To:
git commit --cleanup=whitespace avoids removing any lines starting with
'#'.  That includes the usual instructions and git status output.
However, git commit -v uses a special "cut" marker and removes
everything below that, which includes the patch -v includes.
--cleanup=whitespace (and --cleanup=whitespace -v) should use the same
cut marker *above* the instructions and status, so that they
automatically get removed even though other '#' lines don't.

- Josh Triplett