Skip to contentSkip to conversation

contrib/subtree - unset prefix before proceeding

PATCH In review Gilles Filippini 1 participant 2 messages Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

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

---
 contrib/subtree/git-subtree.sh | 1 +
 1 file changed, 1 insertion(+)
contrib/subtree/git-subtree.sh +1 -0
index dc59a91..db925ca 100755
@@ -46,6 +46,7 @@ ignore_joins=
 annotate=
 squash=
 message=
+prefix=
 
 debug()
 {
Signature · 1 line
1.9.0
#1 lore raw

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 split

---
 contrib/subtree/git-subtree.sh | 1 +
 1 file changed, 1 insertion(+)
contrib/subtree/git-subtree.sh +1 -0
index dc59a91..db925ca 100755
@@ -46,6 +46,7 @@ ignore_joins=
 annotate=
 squash=
 message=
+prefix=
 
 debug()
 {