Re: [PATCH] Use pathexpand to preparse the relative pathnames in blob references
- From
- Dana How <danahow@gmail.com>
- Date
- Dec 18, 2007, 21:06 UTC
- Message-ID
- <56b7f5510712181306k13e8b06dt35313e09727a8f59@mail.gmail.com>
- In-Reply-To
- <20071218205253.GF2875@steel.home>
On Dec 18, 2007 12:52 PM, Alex Riesen <raa.lkml@gmail.com> wrote:
> This, OTOH, is a bit intrusive and changes the current behaviour a bit > too far. git-show cannot use the absolute pathnames in blob locators > at all now, which I consider bad. An obvious way to use rev:/path is > blocked by Johannes' get_sha1_oneline. It would have worked, though.
Last May Junio proposed the current :/ should be changed to :? since it actually searches backwards. Then :/ would be an absolute path, and : could default to relative (like Unix command line).
Because of this incompatibility I think he wanted to delay it until 1.5.6 or 1.6 (see old thread).
-- Dana L. How danahow@gmail.com +1 650 804 5991 cell