diff options
author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2016-09-07 18:19:40 +0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-09-21 08:44:41 -0700 |
commit | 19e5656345cb308ab689932d64af0858a3a92400 (patch) | |
tree | 0d9af8d936b3604952b56f51c09af5780bd070ab /builtin/checkout.c | |
parent | checkout: add some spaces between code and comment (diff) | |
download | tgif-19e5656345cb308ab689932d64af0858a3a92400.tar.xz |
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 'builtin/checkout.c')
0 files changed, 0 insertions, 0 deletions