* How to know where a reference name comes from?
@ 2008-11-27 9:18 Matthieu Moy
2008-11-27 9:47 ` Junio C Hamano
0 siblings, 1 reply; 2+ messages in thread
From: Matthieu Moy @ 2008-11-27 9:18 UTC (permalink / raw)
To: git
Hi,
I faced a simple problem: on a repository, doing almost anything with
the reference "git-svn" complained about ambiguous reference. I know I
have a remotes/git-svn branch, but I didn't know what the other
reference could be.
I didn't find a command telling me _why_ this "git-svn" was ambiguous.
I'd have loved a
$ git rev-parse --all-symbolic-full-names git-svn
or so, but I couldn't find one.
Did I miss anything obvious? (not that the problem was big, I'm just
curious).
(I ended up doing "strace -e open git rev-parse git-svn", and found
out I had a .git/git-svn file lying around)
Thanks,
--
Matthieu
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: How to know where a reference name comes from?
2008-11-27 9:18 How to know where a reference name comes from? Matthieu Moy
@ 2008-11-27 9:47 ` Junio C Hamano
0 siblings, 0 replies; 2+ messages in thread
From: Junio C Hamano @ 2008-11-27 9:47 UTC (permalink / raw)
To: Matthieu Moy; +Cc: git
Matthieu Moy <Matthieu.Moy@imag.fr> writes:
> (I ended up doing "strace -e open git rev-parse git-svn", and found
> out I had a .git/git-svn file lying around)
This has been proposed for a couple of times now but I think it might be
time to start insisting on a ref directly underneath $GIT_DIR to be in all
caps (plus underscore) to avoid issues like this while still allowing
traditional MERGE_HEAD, ORIG_HEAD and friends.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-11-27 9:49 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-27 9:18 How to know where a reference name comes from? Matthieu Moy
2008-11-27 9:47 ` Junio C Hamano
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).