From: Shawn Pearce Date: Wed, 27 Sep 2006 15:18:49 +0000 (-0400) Subject: Corrected copy-and-paste thinko in ignore executable bit test case. X-Git-Tag: v1.4.3-rc1~28 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=209e7569313aa045da6d55e333c884e49e7d8fb2;p=git.git Corrected copy-and-paste thinko in ignore executable bit test case. This test should be testing update-index --add, not git-add as the latter is implemented in terms of the former. Signed-off-by: Shawn O. Pearce Signed-off-by: Junio C Hamano --- diff --git a/t/t3700-add.sh b/t/t3700-add.sh index d36f22d7d..c20e4c29f 100755 --- a/t/t3700-add.sh +++ b/t/t3700-add.sh @@ -35,7 +35,7 @@ test_expect_success \ 'git repo-config core.filemode 0 && echo foo >xfoo2 && chmod 755 xfoo2 && - git-add xfoo2 && + git-update-index --add xfoo2 && case "`git-ls-files --stage xfoo2`" in 100644" "*xfoo2) echo ok;; *) echo fail; git-ls-files --stage xfoo2; exit 1;;