Re: [PATCH] git log [diff-tree options]...
- From
Linus Torvalds <torvalds@osdl.org>
- Date
- Apr 9, 2006, 16:53 UTC
- Message-ID
- <Pine.LNX.4.64.0604090950590.9504@g5.osdl.org>
- In-Reply-To
- <7v7j5zce7x.fsf@assigned-by-dhcp.cox.net>
On Sun, 9 Apr 2006, Junio C Hamano wrote:
> > And this makes "git log" to take common diff-tree options, so > that it can be used as "git whatchanged".
I wonder... This all looks fine, but there are actually two different "diffs" that can be shown for "git log --diff <pathlimiter>":
- the whole diff for a commit
- the path-limited diff
and I think we'd likely want to have some way to select the output. Probably with the path-limited diff being the default (that's what "git-whatchanged" does), but perhaps with "--full-diff" showing the whole commit diff (which is what "gitk" does).
Linus