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>
This commit is contained in:
Jeff King 2014-03-17 15:59:47 -04:00 committed by Junio C Hamano
parent 00eda23228
commit cba5e28426

View File

@ -46,6 +46,7 @@ ignore_joins=
annotate= annotate=
squash= squash=
message= message=
prefix=
debug() debug()
{ {