Skip to content

Commit

Permalink
fetch-pack: update the documentation for "<refs>..." arguments
Browse files Browse the repository at this point in the history
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 <gabrielfrancosouza@gmail.com>
--
 Documentation/git-fetch-pack.txt | 4 ++++
 1 file changed, 4 insertions(+)
Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
gbsf authored and gitster committed Mar 5, 2016
1 parent 4a8d202 commit 754ecb1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Documentation/git-fetch-pack.txt
Expand Up @@ -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
--------
Expand Down

0 comments on commit 754ecb1

Please sign in to comment.