diff options
author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2016-09-07 11:19:40 (GMT) |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-09-21 15:44:41 (GMT) |
commit | 19e5656345cb308ab689932d64af0858a3a92400 (patch) | |
tree | 0d9af8d936b3604952b56f51c09af5780bd070ab /t/t2010-checkout-ambiguous.sh | |
parent | 7f82b24e30e487019fcf6b0e86cf5c6f61a482bc (diff) | |
download | git-19e5656345cb308ab689932d64af0858a3a92400.zip git-19e5656345cb308ab689932d64af0858a3a92400.tar.gz git-19e5656345cb308ab689932d64af0858a3a92400.tar.bz2 |
checkout.txt: document a common case that ignores ambiguation rules
Normally we err on the safe side: if something can be seen as both an
SHA1 and a pathspec, we stop and scream. In checkout, there is one
exception added in 859fdab (git-checkout: improve error messages, detect
ambiguities. - 2008-07-23), to allow the common case "git checkout
branch". Let's document this exception.
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t2010-checkout-ambiguous.sh')
0 files changed, 0 insertions, 0 deletions