X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=t%2Ft5300-pack-object.sh;h=5b50536b54ff84b6a6e51c210be39773c6879443;hb=4275df517022604f5c33ba05ae45a885b84e3472;hp=03951242d38ae30b58239aba3e9b7aec7bae82e7;hpb=9d34c29db39bdb5c2443475dd6a24cfc5c2c9e37;p=git.git diff --git a/t/t5300-pack-object.sh b/t/t5300-pack-object.sh index 03951242..5b50536b 100755 --- a/t/t5300-pack-object.sh +++ b/t/t5300-pack-object.sh @@ -16,9 +16,9 @@ test_expect_success \ for i in a b c do dd if=/dev/zero bs=4k count=1 | tr "\\0" $i >$i && - git-update-cache --add $i || return 1 + git-update-index --add $i || return 1 done && - cat c >d && echo foo >>d && git-update-cache --add d && + cat c >d && echo foo >>d && git-update-index --add d && tree=`git-write-tree` && commit=`git-commit-tree $tree