diff options
author | Junio C Hamano <gitster@pobox.com> | 2014-01-13 11:33:29 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-01-13 11:33:29 -0800 |
commit | 0a8cb0355589cd4058be8b810a9fc608ef9b9a6c (patch) | |
tree | 99bc18bd1fa94ab831e85364691c2f5ae018ae91 /pager.c | |
parent | a25014bc4cef56712f7d005d7b76070d0270f454 (diff) | |
parent | 832cf74c0792a58c9c28e32a8fe5dbb694f0cce6 (diff) | |
download | git-0a8cb0355589cd4058be8b810a9fc608ef9b9a6c.tar.gz |
Merge branch 'br/sha1-name-40-hex-no-disambiguation'
When parsing a 40-hex string into the object name, the string is
checked to see if it can be interpreted as a ref so that a warning
can be given for ambiguity. The code kicked in even when the
core.warnambiguousrefs is set to false to squelch this warning, in
which case the cycles spent to look at the ref namespace were an
expensive no-op, as the result was discarded without being used.
* br/sha1-name-40-hex-no-disambiguation:
sha1_name: don't resolve refs when core.warnambiguousrefs is false
Diffstat (limited to 'pager.c')
0 files changed, 0 insertions, 0 deletions