Corrected copy-and-paste thinko in ignore executable bit test case.
authorShawn Pearce <spearce@spearce.org>
Wed, 27 Sep 2006 15:18:49 +0000 (11:18 -0400)
committerJunio C Hamano <junkio@cox.net>
Wed, 27 Sep 2006 19:44:02 +0000 (12:44 -0700)
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 <spearce@spearce.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
t/t3700-add.sh

index d36f22d7deb071d50d220eac76bae5ef6415e412..c20e4c29fcc864dff80e5ae73a8ad7ede1f794f0 100755 (executable)
@@ -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;;