Re: Improve handling of . and .. in git-diff-*

2005-08-23 Thread Alex Riesen
On 8/17/05, Linus Torvalds [EMAIL PROTECTED] wrote: NOTE! This does _not_ handle .. or . in the _middle_ of a pathspec. If you have people who do BTW, could this (below) be useful for something? #include string.h #include stdio.h #include stdlib.h // an analog of cd path from a directory cwd.

Re: Improve handling of . and .. in git-diff-*

2005-08-23 Thread Alex Riesen
On 8/23/05, Alex Riesen [EMAIL PROTECTED] wrote: On 8/17/05, Linus Torvalds [EMAIL PROTECTED] wrote: NOTE! This does _not_ handle .. or . in the _middle_ of a pathspec. If you have people who do BTW, could this (below) be useful for something? Well, a bit of explanation is certainly

Re: Improve handling of . and .. in git-diff-*

2005-08-16 Thread Linus Torvalds
On Tue, 16 Aug 2005, Linus Torvalds wrote: This fixes up usage of .. (without an ending slash) and . (with or without the ending slash) in the git diff family. Btw, if it wasn't clear, with this patch you can now do git diff . and it will show the diffs for everything under the