Re: [PATCH] Make -s flag to show-diff a no-op.
- From
Junio C Hamano <junkio@cox.net>
- Date
- Apr 27, 2005, 22:35 UTC
- Message-ID
- <7v64y7etko.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <Pine.LNX.4.58.0504271520150.18901@ppc970.osdl.org>
>>>>> "LT" == Linus Torvalds <torvalds@osdl.org> writes:
LT> I also wonder whether "-p" should turn on recursion by default (for all LT> the tools). "-p" without "-r" doesn't really seem to make much sense, does LT> it?
When I know which path I am interested in,
$ diff-tree -p <tree-1> <tree-2> ls-tree.c
would still get the benefit of not descending down into ppc and mozilla-sha1 subdirectories, if I am not mistaken.
Think of the kernel sources, and I would say leaving the option of not recursing down is a good thing.