Write .editmsg in GIT_DIR to avoid being in git-status.
commitf8e2c54c9a17af3319e96db1d9e97ace36ae6831
authorSanti_Béjar <sbejar@gmail.com>
Mon, 10 Oct 2005 00:30:19 +0000 (9 17:30 -0700)
committerJunio C Hamano <junkio@cox.net>
Mon, 10 Oct 2005 00:30:19 +0000 (9 17:30 -0700)
treee54dd8f5b43195c2c25c28b7080a09fd3255c099
parentf7c153431b4049e7697664dee4a3d71013422f9d
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>
git-commit.sh