Re: [Annoyance] "git log .." thinks ".." is ambiguous
- From
Jeff King <peff@peff.net>
- Date
- May 2, 2011, 19:36 UTC
- Message-ID
- <20110502193651.GC10487@sigill.intra.peff.net>
- In-Reply-To
- <20110502193321.GB10487@sigill.intra.peff.net>
On Mon, May 02, 2011 at 03:33:21PM -0400, Jeff King wrote:
> I didn't check, but what does your patch do with: > > $ cd "`git rev-parse --show-toplevel`" > $ git log ..
Nevermind, it properly complains "'..' is outside repository"; of course no new code is needed because we could already do "git log ../..".
I do notice that gitk doesn't work, though. Doing "gitk .." produces an "ambiguous argument" error. It looks like "git rev-parse .." still treats it as HEAD..HEAD, which may be the source of the error.
-Peff