diff options
author | Junio C Hamano <gitster@pobox.com> | 2016-09-29 16:49:43 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-09-29 16:49:44 -0700 |
commit | d336b675680c7d4adc9f7190b7974b2ef10c0af4 (patch) | |
tree | f27b45c24a78fecac73f6bf5407d9450052ab8aa /submodule.c | |
parent | Merge branch 'ep/doc-check-ref-format-example' into maint (diff) | |
parent | checkout: fix ambiguity check in subdir (diff) | |
download | tgif-d336b675680c7d4adc9f7190b7974b2ef10c0af4.tar.xz |
Merge branch 'nd/checkout-disambiguation' into maint
"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 'submodule.c')
0 files changed, 0 insertions, 0 deletions