diff options
author | Junio C Hamano <gitster@pobox.com> | 2011-05-13 10:41:54 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2011-05-13 10:41:54 -0700 |
commit | a613b534bca2d56f2ad67b3a7f0cf2b34f031260 (patch) | |
tree | 2a54a3d0666577bf01234e5771e16dec7ccb240d /t/t7011-skip-worktree-reading.sh | |
parent | Merge branch 'mz/maint-rename-unmerged' into maint (diff) | |
parent | diff-files: show unmerged entries correctly (diff) | |
download | tgif-a613b534bca2d56f2ad67b3a7f0cf2b34f031260.tar.xz |
Merge branch 'jc/fix-diff-files-unmerged' into maint
* jc/fix-diff-files-unmerged:
diff-files: show unmerged entries correctly
diff: remove often unused parameters from diff_unmerge()
diff.c: return filepair from diff_unmerge()
test: use $_z40 from test-lib
Diffstat (limited to 't/t7011-skip-worktree-reading.sh')
-rwxr-xr-x | t/t7011-skip-worktree-reading.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/t/t7011-skip-worktree-reading.sh b/t/t7011-skip-worktree-reading.sh index bb4066f767..8f3b54d826 100755 --- a/t/t7011-skip-worktree-reading.sh +++ b/t/t7011-skip-worktree-reading.sh @@ -24,7 +24,7 @@ H sub/2 EOF NULL_SHA1=e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 -ZERO_SHA0=0000000000000000000000000000000000000000 + setup_absent() { test -f 1 && rm 1 git update-index --remove 1 && @@ -120,7 +120,7 @@ test_expect_success 'grep with skip-worktree file' ' test "$(git grep --no-ext-grep test)" = "1:test" ' -echo ":000000 100644 $ZERO_SHA0 $NULL_SHA1 A 1" > expected +echo ":000000 100644 $_z40 $NULL_SHA1 A 1" > expected test_expect_success 'diff-index does not examine skip-worktree absent entries' ' setup_absent && git diff-index HEAD -- 1 > result && |