@matheusbsbs / matheus-bagliano / commits / 209e756931
Fork 0

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 <spearce@spearce.org> Signed-off-by: Junio C Hamano <junkio@cox.net>

Shawn Pearce committed Sep 27, 2006 at 11:18 UTC 209e7569313aa045da6d55e333c884e49e7d8fb2
1 file changed +1 -1
t/t3700-add.sh
+1 -1
@@ -35,7 +35,7 @@ test_expect_success \
35 'git repo-config core.filemode 0 &&
36 echo foo >xfoo2 &&
37 chmod 755 xfoo2 &&
38 - git-add xfoo2 &&
38 + git-update-index --add xfoo2 &&
39 case "`git-ls-files --stage xfoo2`" in
40 100644" "*xfoo2) echo ok;;
41 *) echo fail; git-ls-files --stage xfoo2; exit 1;;