Re: Looking for a way to turn off/modify ref disambiguation
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Aug 23, 2011, 22:03 UTC
- Message-ID
- <7vei0brdiq.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <CAPRoxBXjL3Y3KRd8R2guX9Ar374sw-pBhz1bCzNZxn1vC6XNPw@mail.gmail.com>
"Nathan W. Panike" <nathan.panike@gmail.com> writes:
Show 12 quoted lines
> 1. If $GIT_DIR/<name> exists, that is what you mean > (this is usually useful only for HEAD, FETCH_HEAD, ORIG_HEAD, > MERGE_HEAD and CHERRY_PICK_HEAD); > 2. otherwise, refs/<name> if it exists; > 3. otherwise, refs/tags/<refname> if it exists; > 4. otherwise, refs/heads/<name> if it exists; > 5. otherwise, refs/remotes/<name> if it exists; > 6. otherwise, refs/remotes/<name>/HEAD if it exists. > ... > > Is there any way to change this behavior, e.g., so that rule 6 becomes > an error?
You will force people to say "git log origin/master..master" to measure their progress if you did so, when "git log origin..master" has been the way described in many git books and documentation pages floating on the web.
I think it is _very_ unlikely that such a change is going to happen.