Re: [PATCH 2/3] checkout.txt: document a common case that ignores ambiguation rules

2016-09-09 Thread Junio C Hamano
I'll queue the following as "fixup!" for now. It reminds me that the title also needs rewording; we do not have rules to make things ambiguous ;-) diff --git a/Documentation/git-checkout.txt b/Documentation/git-checkout.txt index 46b04b1..8e2c066 100644 --- a/Documentation/git-checkout.txt +++

Re: [PATCH 2/3] checkout.txt: document a common case that ignores ambiguation rules

2016-09-08 Thread Junio C Hamano
Nguyễn Thái Ngọc Duy writes: > 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),

[PATCH 2/3] checkout.txt: document a common case that ignores ambiguation rules

2016-09-07 Thread Nguyễn Thái Ngọc Duy
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