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(-)
Show changes to Documentation/git-archive.txt +3 −2
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