tests: add checking that combine-diff emits only correct paths
commitfce135c4ffc87f85e1c3b5c57a6d9e1abdbd074d
authorKirill Smelkov <kirr@mns.spb.ru>
Mon, 3 Feb 2014 09:08:49 +0000 (3 13:08 +0400)
committerJunio C Hamano <gitster@pobox.com>
Mon, 24 Feb 2014 22:44:57 +0000 (24 14:44 -0800)
tree35aaad0184f3676d7468388ada66d8d4b7e96a19
parent7b1004b0ba6637e8c299ee8f927de5426139495c
tests: add checking that combine-diff emits only correct paths

where "correct paths" stands for paths that are different to all
parents.

Up until now, we were testing combined diff only on one file, or on
several files which were all different (t4038-diff-combined.sh).

As recent thinko in "simplify intersect_paths() further" showed, and
also, since we are going to rework code for finding paths different to
all parents, lets write at least basic tests.

Signed-off-by: Kirill Smelkov <kirr@mns.spb.ru>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t4057-diff-combined-paths.sh [new file with mode: 0755]