git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Gilles Filippini <gilles.filippini@free.fr>
To: git@vger.kernel.org
Subject: [PATCH] contrib/subtree - unset prefix before proceeding
Date: Sat, 01 Mar 2014 17:33:32 +0100	[thread overview]
Message-ID: <53120BDC.9000406@free.fr> (raw)

[-- 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 --]



             reply	other threads:[~2014-03-01 16:34 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-01 16:33 Gilles Filippini [this message]
2014-03-03 14:53 ` [PATCH] contrib/subtree - unset prefix before proceeding Gilles Filippini

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=53120BDC.9000406@free.fr \
    --to=gilles.filippini@free.fr \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).