]> git.ipfire.org Git - thirdparty/git.git/commit - Documentation/pull-fetch-param.txt
fetch doc: remove "short-cut" section
authorJunio C Hamano <gitster@pobox.com>
Thu, 29 May 2014 20:22:01 +0000 (13:22 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 4 Jun 2014 22:29:38 +0000 (15:29 -0700)
commit5cc3268720bd64f7dcc11843060fcebbe84f1a39
tree595f7a0c991f607a6ca0fad049bcf0ae01a7f04f
parentb8bdaa97a6447a1a1f9e635e6e2212858fdfe572
fetch doc: remove "short-cut" section

It is misleading to mention that <ref> that does not store is to
fetch the ref into FETCH_HEAD, because a refspec that does store is
also to fetch the LHS into FETCH_HEAD.  It is doubly misleading to
list it as part of "short-cut".  <ref> stands for a refspec that has
it on the LHS with a colon and an empty RHS, and that definition
should be given at the beginning of the entry where the format is
defined.

Tentatively remove this misleading description, which leaves the
`tag <tag>` as the only true short-hand, so move it at the beginning
of the entry.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/pull-fetch-param.txt