diff options
author | Jeff King <peff@peff.net> | 2014-03-17 15:59:47 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-03-17 15:19:52 -0700 |
commit | cba5e28426a5c9728d883171e4e5e287ab17136a (patch) | |
tree | d773ad2e3dcecd4cbed2f1a1b41c467556751434 /environment.c | |
parent | 00eda23228acb68c85a76f977f4e59f82189ce3f (diff) | |
download | git-cba5e28426a5c9728d883171e4e5e287ab17136a.tar.gz |
subtree: initialize "prefix" variablejk/subtree-prefix
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>
Diffstat (limited to 'environment.c')
0 files changed, 0 insertions, 0 deletions