]> git.ipfire.org Git - thirdparty/git.git/commit - tree-diff.c
diff-tree -r -t: include added/removed directories in the output
authorNick Edelen <sirnot@gmail.com>
Sun, 14 Jun 2009 00:06:09 +0000 (17:06 -0700)
committerJunio C Hamano <gitster@pobox.com>
Sun, 14 Jun 2009 00:06:09 +0000 (17:06 -0700)
commitdf533f34a31890a43baaf00d03c0a7fa51886bc5
treef832d9f406698222e99629eabd588fa7c662a9bc
parentc97038d1cfbd98ea258086c417fe4f0c094596d3
diff-tree -r -t: include added/removed directories in the output

We used to include only the modified and typechanged directories
in the ouptut, but for consistency's sake, we should also include
added and removed ones as well.

This makes the output more consistent, but it may break existing scripts
that expect to see the current output which has long been the established
behaviour.

Signed-off-by: Nick Edelen <sirnot@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t4037-diff-r-t-dirs.sh [new file with mode: 0755]
tree-diff.c