git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH] contrib/subtree - unset prefix before proceeding

From
Gilles Filippini <gilles.filippini@free.fr>
Date
Mar 1, 2014, 16:33 UTC
Message-ID
<53120BDC.9000406@free.fr>

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
Next: Gilles Filippini
Message 1 of 2 in “contrib/subtree - unset prefix before proceeding”
  1. contrib/subtree - unset prefix before proceedingGilles Filippini, Mar 1, 2014
  2. Gilles FilippiniMar 3, 2014

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.