Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'fix'
author
Junio C Hamano
<junkio@cox.net>
Mon, 15 May 2006 07:51:37 +0000
(
00:51
-0700)
committer
Junio C Hamano
<junkio@cox.net>
Mon, 15 May 2006 07:51:37 +0000
(
00:51
-0700)
* fix:
Ensure author & committer before asking for commit message.
git-commit.sh
patch
|
blob
|
history
raw
(from parent 1:
15739c8
)
diff --git
a/git-commit.sh
b/git-commit.sh
index 26cd7ca54de2e0b4802546d2611cd379694ec005..6ef1a9dedc89af10865ed114458df88617bb5ca9 100755
(executable)
--- a/
git-commit.sh
+++ b/
git-commit.sh
@@
-640,6
+640,8
@@
case "$no_edit" in
exit 1
;;
esac
+ git-var GIT_AUTHOR_IDENT > /dev/null || die
+ git-var GIT_COMMITTER_IDENT > /dev/null || die
${VISUAL:-${EDITOR:-vi}} "$GIT_DIR/COMMIT_EDITMSG"
;;
esac