t3010: update to demonstrate "ls-files -k" optimization pitfalls
commit3c56875176390eee7d81795294124ce90189d876
authorJunio C Hamano <gitster@pobox.com>
Thu, 15 Aug 2013 20:51:09 +0000 (15 13:51 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 15 Aug 2013 21:16:00 +0000 (15 14:16 -0700)
tree95a0129acedc77ace14c6ad0ab313bc87153fba3
parent2eac2a4cc4bdc8d77b31204bc20751cb56f0d575
t3010: update to demonstrate "ls-files -k" optimization pitfalls

An earlier draft of the previous step used cache_name_exists() to
check the directory we were looking at, which missed the second case
described in its log message.  Demonstrate why it is not sufficient.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t3010-ls-files-killed-modified.sh