diff options
author | Shawn Pearce <spearce@spearce.org> | 2006-09-27 19:18:49 +0400 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-09-27 23:44:02 +0400 |
commit | 209e7569313aa045da6d55e333c884e49e7d8fb2 (patch) | |
tree | a1c64dad80a07c084c28dff6832789810d857f1b /t/t3700-add.sh | |
parent | 16652170bf80542fd77de75fb88da2f7761f65c4 (diff) |
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>
Diffstat (limited to 't/t3700-add.sh')
-rwxr-xr-x | t/t3700-add.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t3700-add.sh b/t/t3700-add.sh index d36f22d7de..c20e4c29fc 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;; |