Re: [PATCH] gitk: fix for "gitk <ambiguous-name> --"
- From
Uwe Kleine-König <ukleinek@informatik.uni-freiburg.de>
- Date
- Jul 4, 2007, 08:38 UTC
- Message-ID
- <20070704083849.GA6970@informatik.uni-freiburg.de>
- In-Reply-To
- <Pine.LNX.4.64.0707032353330.4071@racer.site>
Hello Johannes,
> If you have an ambiguous ref, i.e. a file in the working directory bears > the same name, you have to use "--" at the end to disambiguate ref from > file. This works with "git rev-list". Make it work with gitk, too.
This fixes only one half of the problem. Now
gitk fixes ^linus/master --
works fine, but
gitk fixes ^linus/master
still hangs.
I didn't try Gerrits patch yet.
BTW, I don't use a range, because originally I used something like:
git branch | cut -b3- | grep -v ^attic/ | xargs gitk ^linus/master
Now I have to think how I can add the ending "--" ...
Best regards Uwe
-- Uwe Kleine-König 5 out of 4 people have trouble with fractions.