git-am.sh: fix initialization of the threeway variable
authorRemi Lespinet <remi.lespinet@ensimag.grenoble-inp.fr>
Thu, 4 Jun 2015 15:04:53 +0000 (17:04 +0200)
committerJunio C Hamano <gitster@pobox.com>
Thu, 4 Jun 2015 17:39:23 +0000 (10:39 -0700)
Initialization for the threeway variable was missing. This caused
a behavior change for command lines like:

threeway=t git am ...

This commit adds initialization for this variable.

Signed-off-by: Remi Lespinet <remi.lespinet@ensimag.grenoble-inp.fr>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-am.sh
index a67d0f98989706fa69df4cf7d6242ad9531eb337..4696998d4e4bd8f2355008cd35cf85600521d60b 100755 (executable)
--- a/git-am.sh
+++ b/git-am.sh
@@ -378,6 +378,7 @@ committer_date_is_author_date=
 ignore_date=
 allow_rerere_autoupdate=
 gpg_sign_opt=
+threeway=
 
 if test "$(git config --bool --get am.messageid)" = true
 then