Merge branch 'mm/maint-doc-commit-edit'
authorJunio C Hamano <gitster@pobox.com>
Thu, 15 Nov 2012 18:24:44 +0000 (10:24 -0800)
committerJunio C Hamano <gitster@pobox.com>
Thu, 15 Nov 2012 18:24:44 +0000 (10:24 -0800)
* mm/maint-doc-commit-edit:
Document 'git commit --no-edit' explicitly

1  2 
Documentation/git-commit.txt
index b620aae411499170c63b92f1c7e80793fcc0de5b,694c56f78358f922c2b247d87d2ac7a6298656da..7bdb039d5ee9c6ed6c19c70173c733860de2d5b7
@@@ -13,7 -13,7 +13,7 @@@ SYNOPSI
           [-F <file> | -m <msg>] [--reset-author] [--allow-empty]
           [--allow-empty-message] [--no-verify] [-e] [--author=<author>]
           [--date=<date>] [--cleanup=<mode>] [--status | --no-status]
 -         [-i | -o] [--] [<file>...]
 +         [-i | -o] [-S[<keyid>]] [--] [<file>...]
  
  DESCRIPTION
  -----------
@@@ -109,10 -109,6 +109,10 @@@ OPTION
        format. See linkgit:git-status[1] for details. Implies
        `--dry-run`.
  
 +--long::
 +      When doing a dry-run, give the output in a the long-format.
 +      Implies `--dry-run`.
 +
  -z::
  --null::
        When showing `short` or `porcelain` status output, terminate
        commit log message unmodified.  This option lets you
        further edit the message taken from these sources.
  
+ --no-edit::
+       Use the selected commit message without launching an editor.
+       For example, `git commit --amend --no-edit` amends a commit
+       without changing its commit message.
  --amend::
        Used to amend the tip of the current branch. Prepare the tree
        object you would want to replace the latest commit as usual
        current tip -- if it was a merge, it will have the parents of
        the current tip as parents -- so the current top commit is
        discarded.
 -
 ---no-post-rewrite::
 -      Bypass the post-rewrite hook.
 -
  +
  --
  It is a rough equivalent for:
@@@ -213,9 -218,6 +218,9 @@@ You should understand the implications 
  amend a commit that has already been published.  (See the "RECOVERING
  FROM UPSTREAM REBASE" section in linkgit:git-rebase[1].)
  
 +--no-post-rewrite::
 +      Bypass the post-rewrite hook.
 +
  -i::
  --include::
        Before making a commit out of staged contents so far,
@@@ -279,10 -281,6 +284,10 @@@ configuration variable documented in li
        commit message template when using an editor to prepare the
        default commit message.
  
 +-S[<keyid>]::
 +--gpg-sign[=<keyid>]::
 +      GPG-sign commit.
 +
  \--::
        Do not interpret any more arguments as options.