Add test case for ls-files --with-tree
authorCarl Worth <cworth@cworth.org>
Wed, 3 Oct 2007 07:03:53 +0000 (00:03 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 3 Oct 2007 07:53:24 +0000 (00:53 -0700)
commit54e1abce90ed44d0674772a735ac387ce3e264f2
treec8a77661a572c5146b1085864c4f5eebc4f11421
parent95af39fcb2d84c8ef2844a9d890e3c67a2e0e1ec
Add test case for ls-files --with-tree

This tests basic functionality and also exercises a bug noticed
by Keith Packard, (prune_cache followed by add_index_entry can
trigger an attempt to realloc a pointer into the middle of an
allocated buffer).

Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t3060-ls-files-with-tree.sh [new file with mode: 0755]