@matheusbsbs / matheus-bagliano / commits / 3f0a8f3c01
Fork 0

git-am: initialize variable $resume on startup

git-am expects the variable $resume to be empty or unset, which might not be the case if $resume is set in the user's environment. So initialize it to an empty value on startup. The problem was noticed by Pierre Habouzit and reported through http://bugs.debian.org/435807 Signed-off-by: Gerrit Pape <pape@smarden.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Gerrit Pape committed Aug 6, 2007 at 14:15 UTC 3f0a8f3c015f5f2502228a72d8c944d9e700c559
1 file changed +2 -1
git-am.sh
+2 -1
@@ -103,7 +103,8 @@ It does not apply to blobs recorded in its index."
103 }
104
105 prec=4
106 -dotest=.dotest sign= utf8=t keep= skip= interactive= resolved= binary= resolvemsg=
106 +dotest=.dotest sign= utf8=t keep= skip= interactive= resolved= binary=
107 +resolvemsg= resume=
108 git_apply_opt=
109
110 while case "$#" in 0) break;; esac