Re: log/show: relative pathnames do not work in rev:path
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Dec 18, 2007, 23:18 UTC
- Message-ID
- <7vzlw7wq05.fsf@gitster.siamese.dyndns.org>
- In-Reply-To
- <Pine.LNX.4.64.0712182239500.23902@racer.site>
Johannes Schindelin <Johannes.Schindelin@gmx.de> writes:
Show 14 quoted lines
> And I still maintain that expecting <tree-ish>:<path> to take the current > relative path into account would be just like if you expected > > C:\> cd WINDOWS > C:\WINDOWS> dir D:system32 > > to show you the contents of D:\WINDOWS\system32. > > Or another, less Windowsy example: > > $ cd /usr/bin > $ scp home:bash ./ > > No, this does not copy home:/usr/bin/bash but home:$HOME/bash.
Please do not cc me on this topic, unless it is a patch implementing suggestion from Linus to treat $commit^{tree} as relative to $(cwd) but for only when the user directly specified that in full, including ^{tree} part.