summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2016-04-03 10:29:29 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2016-04-03 10:29:29 -0700
commit9081cffd1e8ac2f24412bf62d4b9682d83853193 (patch)
tree82d4dab832ef80b5664bfff4b553f5e683d6fd77 /Documentation
parentMerge branch 'jc/maint-index-pack-keep' (diff)
parentfetch-pack: update the documentation for "<refs>..." arguments (diff)
downloadtgif-9081cffd1e8ac2f24412bf62d4b9682d83853193.tar.xz
Merge branch 'gf/fetch-pack-direct-object-fetch'
Fetching of history by naming a commit object name directly didn't work across remote-curl transport. * gf/fetch-pack-direct-object-fetch: fetch-pack: update the documentation for "<refs>..." arguments fetch-pack: fix object_id of exact sha1
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/git-fetch-pack.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/Documentation/git-fetch-pack.txt b/Documentation/git-fetch-pack.txt
index 8680f45f8d..239623cc24 100644
--- a/Documentation/git-fetch-pack.txt
+++ b/Documentation/git-fetch-pack.txt
@@ -104,6 +104,10 @@ be in a separate packet, and the list must end with a flush packet.
The remote heads to update from. This is relative to
$GIT_DIR (e.g. "HEAD", "refs/heads/master"). When
unspecified, update from all heads the remote side has.
++
+If the remote has enabled the options `uploadpack.allowTipSHA1InWant` or
+`uploadpack.allowReachableSHA1InWant`, they may alternatively be 40-hex
+sha1s present on the remote.
SEE ALSO
--------