Skip to content
This repository


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master

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 <>
latest commit cba5e28426
Jeff King peff authored March 17, 2014 gitster committed March 17, 2014
Octocat-spinner-32 t Avoid using `echo -n` anywhere July 29, 2013
Octocat-spinner-32 .gitignore git-subtree: ignore git-subtree executable December 22, 2012
Octocat-spinner-32 COPYING Add 'contrib/subtree/' from commit 'd3a04e06c77d57978bb5230361c649462… April 09, 2012
Octocat-spinner-32 INSTALL Fix git-subtree install instructions April 09, 2012
Octocat-spinner-32 Makefile subtree: add makefile target for html docs October 30, 2013
Octocat-spinner-32 README Add 'contrib/subtree/' from commit 'd3a04e06c77d57978bb5230361c649462… April 09, 2012
Octocat-spinner-32 subtree: initialize "prefix" variable March 17, 2014
Octocat-spinner-32 git-subtree.txt subtree: fix argument validation in add/pull/push January 13, 2014
Octocat-spinner-32 todo Add 'contrib/subtree/' from commit 'd3a04e06c77d57978bb5230361c649462… April 09, 2012
Please read git-subtree.txt for documentation.

Please don't contact me using github mail; it's slow, ugly, and worst of
all, redundant. Email me instead at and I'll be happy to

Something went wrong with that request. Please try again.