summaryrefslogtreecommitdiffstats
path: root/git-http-fetch.txt
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2020-06-25 14:10:02 -0700
committerJunio C Hamano <gitster@pobox.com>2020-06-25 14:10:02 -0700
commita5fefe3b7f2b8fe9a1f9bd345a5211a97ffa7bbc (patch)
tree6ac39693feb4b7878688cac06703e7a42f467d12 /git-http-fetch.txt
parent03e5f3577506a386bba64f108726ba68bf0f9241 (diff)
downloadgit-htmldocs-a5fefe3b7f2b8fe9a1f9bd345a5211a97ffa7bbc.tar.gz
Autogenerated HTML docs for v2.27.0-203-gf402e
Diffstat (limited to 'git-http-fetch.txt')
-rw-r--r--git-http-fetch.txt9
1 files changed, 8 insertions, 1 deletions
diff --git a/git-http-fetch.txt b/git-http-fetch.txt
index 666b04267..4deb4893f 100644
--- a/git-http-fetch.txt
+++ b/git-http-fetch.txt
@@ -9,7 +9,7 @@ git-http-fetch - Download from a remote Git repository via HTTP
SYNOPSIS
--------
[verse]
-'git http-fetch' [-c] [-t] [-a] [-d] [-v] [-w filename] [--recover] [--stdin] <commit> <url>
+'git http-fetch' [-c] [-t] [-a] [-d] [-v] [-w filename] [--recover] [--stdin | --packfile=<hash> | <commit>] <url>
DESCRIPTION
-----------
@@ -40,6 +40,13 @@ commit-id::
<commit-id>['\t'<filename-as-in--w>]
+--packfile=<hash>::
+ Instead of a commit id on the command line (which is not expected in
+ this case), 'git http-fetch' fetches the packfile directly at the given
+ URL and uses index-pack to generate corresponding .idx and .keep files.
+ The hash is used to determine the name of the temporary file and is
+ arbitrary. The output of index-pack is printed to stdout.
+
--recover::
Verify that everything reachable from target is fetched. Used after
an earlier fetch is interrupted.