subtree: initialize "prefix" variable

We parse the "--prefix" command-line option into the "$prefix" shell variable. However, if we do not see such an option, the variable is left with whatever value it had in the environment. We should initialize it to a known value, like we do for other variables. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Jeff King committed Mar 17, 2014 at 15:59 UTC cba5e28426a5c9728d883171e4e5e287ab17136a
1 file changed +1
contrib/subtree/git-subtree.sh
+1
@@ -46,6 +46,7 @@ ignore_joins=
46 annotate=
47 squash=
48 message=
49 +prefix=
50
51 debug()
52 {