Re: Possible BUG with git-rev-list --all in a StGit repository
- From
Junio C Hamano <junkio@cox.net>
- Date
- Nov 28, 2006, 08:41 UTC
- Message-ID
- <7vd57855fy.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <e5bfff550611272357w33756febud0bbbe59e2e1e140@mail.gmail.com>
"Marco Costalba" <mcostalba@gmail.com> writes:
Show 6 quoted lines
>> If you (as a Porcelain) want to get all refs under refs/heads/, >> there are (unfortunately) two ways to get that list. I would >> suggest obtain the refs you want that way, pass them as command >> line arguments to rev-list. > > Unfortunatly that does not work in case a branch and a tag have the same name.
I am not quite grokking what the problem you are trying to solve is, so this is a shot in the dark, but
git rev-list refs/heads/test refs/tags/test
to disambiguate, perhaps?