author | Santi_Béjar <sbejar@gmail.com> | |
Mon, 10 Oct 2005 00:30:19 +0000 (17:30 -0700) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Mon, 10 Oct 2005 00:30:19 +0000 (17:30 -0700) | ||
commit | f8e2c54c9a17af3319e96db1d9e97ace36ae6831 | |
tree | e54dd8f5b43195c2c25c28b7080a09fd3255c099 | tree | snapshot |
parent | f7c153431b4049e7697664dee4a3d71013422f9d | commit | diff |
Write .editmsg in GIT_DIR to avoid being in git-status.
It appears in the git-status output during a git-commit if you have
something in info/exclude.
Also for .cmitmsg and .cmitchk to make git-commit work
in read-only working trees.
[jc: while we are at it, I removed the use of .cmitchk temporary
file which was not necessary, and renamed them -- they are out
of way now and do not have to be dotfiles anymore.]
Signed-off-by: Santi Béjar <sbejar@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
It appears in the git-status output during a git-commit if you have
something in info/exclude.
Also for .cmitmsg and .cmitchk to make git-commit work
in read-only working trees.
[jc: while we are at it, I removed the use of .cmitchk temporary
file which was not necessary, and renamed them -- they are out
of way now and do not have to be dotfiles anymore.]
Signed-off-by: Santi Béjar <sbejar@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
git-commit.sh | diff | blob | history |