diff --git a/t/t4000-diff-format.sh b/t/t4000-diff-format.sh
index 3accb14f00b8d1b9cdcee1ca8eac34bd8e82e8ac..91015d76fc5b63e0ffa68eb121bb514aa9a74f8f 100755 (executable)
--- a/t/t4000-diff-format.sh
+++ b/t/t4000-diff-format.sh
test_expect_success \
'update-cache --add two files with and without +x.' \
- 'git-update-cache --add path0 path1'
+ 'git-update-index --add path0 path1'
mv path0 path0-
sed -e 's/line/Line/' <path0- >path0