contrib/subtree - unset prefix before proceeding
PATCH 1/1 contrib/subtree - unset prefix before proceeding
This is to prevent unwanted prefix when such an environment variable exists. The case occurs for example during the Debian package build where the git-subtree test suite is called with 'prefix=/usr', which makes test 21 fail:
not ok 21 - Check that prefix argument is required for split
Signed-off-by Gilles Filippini <[email protected]>
--- contrib/subtree/git-subtree.sh | 1 + 1 file changed, 1 insertion(+)
contrib/subtree/git-subtree.sh +1 -0
@@ -46,6 +46,7 @@ ignore_joins= annotate= squash= message= +prefix= debug() {
Signature · 1 line
1.9.0
Hi,
Any chance to have this patch considered?
Thanks in advance,
_g.
Gilles Filippini a écrit , Le 01/03/2014 17:33:
Quoted 24 lines
This is to prevent unwanted prefix when such an environment variable exists. The case occurs for example during the Debian package build where the git-subtree test suite is called with 'prefix=/usr', which makes test 21 fail:
not ok 21 - Check that prefix argument is required for splitSigned-off-by Gilles Filippini <[email protected]>--- contrib/subtree/git-subtree.sh | 1 + 1 file changed, 1 insertion(+)contrib/subtree/git-subtree.sh +1
-0@@ -46,6 +46,7 @@ ignore_joins= annotate= squash= message= +prefix= debug() {