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

[PATCH] Documentation: Fix description of archive "--prefix"

From
Holger Weiß <holger@zedat.fu-berlin.de>
Date
Apr 29, 2009, 13:42 UTC
Message-ID
<20090429134236.GU36958498@CIS.FU-Berlin.DE>

The description of the "--prefix" option suggested that a slash would automatically be appended to the specified <prefix>, which is not the case.

Signed-off-by: Holger Weiß <holger@zedat.fu-berlin.de>
---
 Documentation/git-archive.txt |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/Documentation/git-archive.txt b/Documentation/git-archive.txt
index ad38f7f..6848e62 100644
--- a/Documentation/git-archive.txt
+++ b/Documentation/git-archive.txt
@@ -9,7 +9,7 @@ git-archive - Create an archive of files from a named tree
 SYNOPSIS
 --------
 [verse]
-'git archive' --format=<fmt> [--list] [--prefix=<prefix>/] [<extra>]
+'git archive' --format=<fmt> [--list] [--prefix=<prefix>] [<extra>]
 	      [--remote=<repo> [--exec=<git-upload-archive>]] <tree-ish>
 	      [path...]
 
@@ -44,8 +44,8 @@ OPTIONS
 --verbose::
 	Report progress to stderr.
 
---prefix=<prefix>/::
-	Prepend <prefix>/ to each filename in the archive.
+--prefix=<prefix>::
+	Prepend <prefix> to each filename in the archive.
 
 <extra>::
 	This can be any options that the archiver backend understands.
-- 
1.6.2.4
Next: Holger Weiß
Message 1 of 3 in “Documentation: Fix description of archive "--prefix"”
  1. Documentation: Fix description of archive "--prefix"Holger Weiß, Apr 29, 2009
  2. Holger WeißApr 29, 2009
  3. Wesley J. LandakerApr 30, 2009

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.