Fix "git log --diff-filter" bug
commit0faf2da7e5ee5c2f472d8a7afaf8616101f34e80
authorArjen Laarhoven <arjen@yaph.org>
Tue, 25 Dec 2007 11:06:47 +0000 (25 12:06 +0100)
committerJunio C Hamano <gitster@pobox.com>
Wed, 26 Dec 2007 19:57:36 +0000 (26 11:57 -0800)
tree51c47140e5baa61cc72b74e1a2acdb2ba92051ba
parentc8deb5a14686c9c2d0ca1e8f42aec8ed44d16954
Fix "git log --diff-filter" bug

In commit b7bb760d5ed4881422673d32f869d140221d3564 (Fix revision
log diff setup, avoid unnecessary diff generation) an optimization was
made to avoid unnecessary diff generation.  This was partly fixed in
99516e35d096f41e7133cacde8fbed8ee9a3ecd0 (Fix embarrassing "git log
--follow" bug).  The '--diff-filter' option also needs the diff machinery
in action.

Signed-off-by: Arjen Laarhoven <arjen@yaph.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
revision.c
t/t4202-log.sh [new file with mode: 0755]