Re: [PATCH] Support ent:relative_path
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- May 4, 2007, 19:42 UTC
- Message-ID
- <Pine.LNX.4.64.0705042140430.4015@racer.site>
- In-Reply-To
- <7vwszos7l2.fsf@assigned-by-dhcp.cox.net>
Hi,
On Fri, 4 May 2007, Junio C Hamano wrote:
> ... don't you expect "git show HEAD@{yesterday}:git.txt" while
> in Documentation/ subdirectory to work?Actually, no. I expect "git diff HEAD@{yesterday} git.txt" to work fine, and "git show HEAD@{yesterday}:git.c" also, both when in Documentation/, because I expect "git show HEAD@{yesterday}:git.c" to work _also_ when I set GIT_DIR=/path/to/my/bare-repo.git/ before that, while I do not expect the call to git-diff to work (for obvious reasons).
Ciao, Dscho