Re: [Annoyance] "git log .." thinks ".." is ambiguous

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]