Skip to content

Commit

Permalink
Merge branch 'fg/document-commit-message-stripping' into maint
Browse files Browse the repository at this point in the history
* fg/document-commit-message-stripping:
  Documentation: clarify how "git commit" cleans up the edited log message
  • Loading branch information
Junio C Hamano committed Jun 5, 2015
2 parents 5c2e654 + 9a35c14 commit 48feda5
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions Documentation/git-commit.txt
Original file line number Diff line number Diff line change
Expand Up @@ -180,8 +180,8 @@ OPTIONS
+
--
strip::
Strip leading and trailing empty lines, trailing whitespace, and
#commentary and collapse consecutive empty lines.
Strip leading and trailing empty lines, trailing whitespace,
commentary and collapse consecutive empty lines.
whitespace::
Same as `strip` except #commentary is not removed.
verbatim::
Expand Down Expand Up @@ -282,8 +282,11 @@ configuration variable documented in linkgit:git-config[1].
--verbose::
Show unified diff between the HEAD commit and what
would be committed at the bottom of the commit message
template. Note that this diff output doesn't have its
lines prefixed with '#'.
template to help the user describe the commit by reminding
what changes the commit has.
Note that this diff output doesn't have its
lines prefixed with '#'. This diff will not be a part
of the commit message.
+
If specified twice, show in addition the unified diff between
what would be committed and the worktree files, i.e. the unstaged
Expand Down

0 comments on commit 48feda5

Please sign in to comment.