-
Notifications
You must be signed in to change notification settings - Fork 72
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
amend: respect git config commit.cleanup
Git commit has several configuration options for how to strip comment lines out of the commit text. We generally want to support these because they affect whether we throw away prefixed lines that could be important text to the user. "strip" is just the default way we've been doing it, so refactor to also support "scissors" which has a different comment and removal method. "whitespace" and "verbatim" are simpler strategies that we can support as well, but get no additional comment. Fixes: #148
- Loading branch information
1 parent
d7f409c
commit a3fc421
Showing
1 changed file
with
33 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters