Skip to content

Commit

Permalink
Merge branch 'jk/maint-commit-document-editmsg' into maint
Browse files Browse the repository at this point in the history
"$GIT_DIR/COMMIT_EDITMSG" file that is used to hold the commit log
message user edits was not documented.

* jk/maint-commit-document-editmsg:
  commit: document the temporary commit message file
  • Loading branch information
Junio C Hamano committed Jul 30, 2012
2 parents 5c992a1 + 41f597d commit f17adbc
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Documentation/git-commit.txt
Original file line number Diff line number Diff line change
Expand Up @@ -399,6 +399,15 @@ This command can run `commit-msg`, `prepare-commit-msg`, `pre-commit`,
and `post-commit` hooks. See linkgit:githooks[5] for more
information.

FILES
-----

`$GIT_DIR/COMMIT_EDITMSG`::
This file contains the commit message of a commit in progress.
If `git commit` exits due to an error before creating a commit,
any commit message that has been provided by the user (e.g., in
an editor session) will be available in this file, but will be
overwritten by the next invocation of `git commit`.

SEE ALSO
--------
Expand Down

0 comments on commit f17adbc

Please sign in to comment.