merge: fix GIT_EDITOR override for commit hook
commit0a3beb0e2e29ca7a3c33a10112424650706edb5f
authorBenoit Pierre <benoit.pierre@gmail.com>
Tue, 18 Mar 2014 10:00:54 +0000 (18 11:00 +0100)
committerJunio C Hamano <gitster@pobox.com>
Tue, 18 Mar 2014 18:25:38 +0000 (18 11:25 -0700)
tree1147468aff216f1cdff0f2ecf3ee7aad8b297449
parent15048f8a9ace23df67161746ca76b4f46114deee
merge: fix GIT_EDITOR override for commit hook

Don't set GIT_EDITOR to ":" when calling prepare-commit-msg hook if the
editor is going to be called (e.g. with "merge -e").

Signed-off-by: Benoit Pierre <benoit.pierre@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/merge.c