Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'jk/maint-commit-document-editmsg'
author
Junio C Hamano
<gitster@pobox.com>
Tue, 24 Jul 2012 21:05:22 +0000
(14:05 -0700)
committer
Junio C Hamano
<gitster@pobox.com>
Tue, 24 Jul 2012 21:05:23 +0000
(14:05 -0700)
Document $GIT_DIR/COMMIT_EDITMSG file.
* jk/maint-commit-document-editmsg:
commit: document the temporary commit message file
Documentation/git-commit.txt
patch
|
blob
|
history
raw
(from parent 1:
18502e3
)
diff --git
a/Documentation/git-commit.txt
b/Documentation/git-commit.txt
index f400835921803ad66a5021524de4fb9d3369f0be..4622297ec98cddc2e1f2e4417b9eeec11a3c91b1 100644
(file)
--- a/
Documentation/git-commit.txt
+++ b/
Documentation/git-commit.txt
@@
-407,6
+407,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
--------