Skip to content

Commit 754ecb1

Browse files
gbsfgitster
authored andcommitted
fetch-pack: update the documentation for "<refs>..." arguments
When we started allowing an exact object name to be fetched from the command line, we forgot to update the documentation. Signed-off-by: Gabriel Souza Franco <[email protected]> -- Documentation/git-fetch-pack.txt | 4 ++++ 1 file changed, 4 insertions(+) Signed-off-by: Junio C Hamano <[email protected]>
1 parent 4a8d202 commit 754ecb1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Documentation/git-fetch-pack.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,10 @@ be in a separate packet, and the list must end with a flush packet.
104104
The remote heads to update from. This is relative to
105105
$GIT_DIR (e.g. "HEAD", "refs/heads/master"). When
106106
unspecified, update from all heads the remote side has.
107+
+
108+
If the remote has enabled the options `uploadpack.allowTipSHA1InWant` or
109+
`uploadpack.allowReachableSHA1InWant`, they may alternatively be 40-hex
110+
sha1s present on the remote.
107111

108112
SEE ALSO
109113
--------

0 commit comments

Comments
 (0)