Skip to content

Commit 7e6a165

Browse files
committed
fixup??? fscache: add a test for the dir-not-found optimization
This is required by the new `chainlint` code. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
1 parent 1f0b5b4 commit 7e6a165

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

t/t1090-sparse-checkout-scope.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ test_expect_success MINGW 'no unnecessary opendir() with fscache' '
116116
do
117117
sha1=$(echo $f | git hash-object -w --stdin) &&
118118
git update-index --add \
119-
--cacheinfo 100644,$sha1,excluded/$f || break
119+
--cacheinfo 100644,$sha1,excluded/$f || exit 1
120120
done &&
121121
test_tick &&
122122
git commit -m excluded &&

0 commit comments

Comments
 (0)