diff options
author | Junio C Hamano <gitster@pobox.com> | 2016-09-26 16:09:18 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-09-26 16:09:18 -0700 |
commit | 31b83f361bd962e9c5f96bf7714051d77f592af2 (patch) | |
tree | 457f3839db3bba30e984dfc9d973fa0e7c981c8e /fetch-pack.c | |
parent | Merge branch 'va/i18n-more' (diff) | |
parent | checkout: fix ambiguity check in subdir (diff) | |
download | tgif-31b83f361bd962e9c5f96bf7714051d77f592af2.tar.xz |
Merge branch 'nd/checkout-disambiguation'
"git checkout <word>" does not follow the usual disambiguation
rules when the <word> can be both a rev and a path, to allow
checking out a branch 'foo' in a project that happens to have a
file 'foo' in the working tree without having to disambiguate.
This was poorly documented and the check was incorrect when the
command was run from a subdirectory.
* nd/checkout-disambiguation:
checkout: fix ambiguity check in subdir
checkout.txt: document a common case that ignores ambiguation rules
checkout: add some spaces between code and comment
Diffstat (limited to 'fetch-pack.c')
0 files changed, 0 insertions, 0 deletions