summaryrefslogtreecommitdiff
path: root/builtin/grep.c
diff options
context:
space:
mode:
authorLibravatar Nguyễn Thái Ngọc Duy <pclouds@gmail.com>2016-09-07 18:19:40 +0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2016-09-21 08:44:41 -0700
commit19e5656345cb308ab689932d64af0858a3a92400 (patch)
tree0d9af8d936b3604952b56f51c09af5780bd070ab /builtin/grep.c
parentcheckout: add some spaces between code and comment (diff)
downloadtgif-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/grep.c')
0 files changed, 0 insertions, 0 deletions