From cba5e28426a5c9728d883171e4e5e287ab17136a Mon Sep 17 00:00:00 2001 From: Jeff King Date: Mon, 17 Mar 2014 15:59:47 -0400 Subject: 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 Signed-off-by: Junio C Hamano --- contrib/subtree/git-subtree.sh | 1 + 1 file changed, 1 insertion(+) (limited to 'contrib') diff --git a/contrib/subtree/git-subtree.sh b/contrib/subtree/git-subtree.sh index dc59a91031..db925ca769 100755 --- a/contrib/subtree/git-subtree.sh +++ b/contrib/subtree/git-subtree.sh @@ -46,6 +46,7 @@ ignore_joins= annotate= squash= message= +prefix= debug() { -- cgit v1.2.3