git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] contrib/subtree - unset prefix before proceeding
@ 2014-03-01 16:33 Gilles Filippini
  2014-03-03 14:53 ` Gilles Filippini
  0 siblings, 1 reply; 2+ messages in thread
From: Gilles Filippini @ 2014-03-01 16:33 UTC (permalink / raw)
  To: git

[-- Attachment #1: Type: text/plain, Size: 699 bytes --]

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 <gilles.filippini@free.fr>
---
 contrib/subtree/git-subtree.sh | 1 +
 1 file changed, 1 insertion(+)

diff --git a/contrib/subtree/git-subtree.sh b/contrib/subtree/git-subtree.sh
index dc59a91..db925ca 100755
--- a/contrib/subtree/git-subtree.sh
+++ b/contrib/subtree/git-subtree.sh
@@ -46,6 +46,7 @@ ignore_joins=
 annotate=
 squash=
 message=
+prefix=
 
 debug()
 {
-- 
1.9.0


[-- Attachment #2: Portion de message joint --]
[-- Type: text/plain, Size: 0 bytes --]



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] contrib/subtree - unset prefix before proceeding
  2014-03-01 16:33 [PATCH] contrib/subtree - unset prefix before proceeding Gilles Filippini
@ 2014-03-03 14:53 ` Gilles Filippini
  0 siblings, 0 replies; 2+ messages in thread
From: Gilles Filippini @ 2014-03-03 14:53 UTC (permalink / raw)
  To: git

Hi,

Any chance to have this patch considered?
Thanks in advance,

_g.

Gilles Filippini a écrit , Le 01/03/2014 17:33:
> 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 <gilles.filippini@free.fr>
> ---
>  contrib/subtree/git-subtree.sh | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/contrib/subtree/git-subtree.sh b/contrib/subtree/git-subtree.sh
> index dc59a91..db925ca 100755
> --- a/contrib/subtree/git-subtree.sh
> +++ b/contrib/subtree/git-subtree.sh
> @@ -46,6 +46,7 @@ ignore_joins=
>  annotate=
>  squash=
>  message=
> +prefix=
>  
>  debug()
>  {
> 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-03-03 14:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-01 16:33 [PATCH] contrib/subtree - unset prefix before proceeding Gilles Filippini
2014-03-03 14:53 ` Gilles Filippini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).