Thread (3 messages) flat view 3 messages, 3 authors, 2016-06-15

Re: [PATCH] show changed tree objects with recursive git-diff-tree

From: Linus Torvalds <torvalds@osdl.org>
Date: 2016-06-15 22:41:58

Possibly related (same subject, not in this thread)


On Fri, 20 May 2005, Junio C Hamano wrote:
Although I do not have immediate objections to what it tries to
do, I have to think about the intent of the patch and its
ramifications.
I really think it should be a totally separate flag to enable showing the
sub-trees if the tree-blobification wants this.

In fact, I can pretty much _guarantee_ that the patch as posted is the
wrong thing to do: it will do horribly wrong things for things like

	git-whatchanged arch/i386/kernel/head.S

(but I haven't tried it - try it yourself. The correct output for the 
kernel archive is just a single commit, and a single blob change in that 
commit).

My bet is that the patch will end up showing every single changeset that 
touches anything under "arch/", since such _trees_ will be marked as 
interesting. Which is absolutely the wrong thing to do.

Nico, try it, maybe you'll prove me wrong.


		Linus
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help