X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;ds=sidebyside;f=t%2Ft4007-rename-3.sh;h=ab83ea3b8abdc7228455c9dd326c1f179a02b5f5;hb=8b64647dd9009f52e23e7fdb443b7b8f9502278a;hp=a55d6b65d191b338194e945408c4f8b807cfba52;hpb=edb0c724287a0ee7cefa11f28ef43d8c5cfa1985;p=git.git diff --git a/t/t4007-rename-3.sh b/t/t4007-rename-3.sh index a55d6b65..ab83ea3b 100644 --- a/t/t4007-rename-3.sh +++ b/t/t4007-rename-3.sh @@ -26,7 +26,7 @@ test_expect_success \ # path1 both have COPYING and the latter is a copy of path0/COPYING. # Comparing the full tree with cache should tell us so. -git-diff-cache -C $tree >current +git-diff-cache -C --find-copies-harder $tree >current cat >expected <<\EOF :100644 100644 6ff87c4664981e4397625791c8ea3bbb5f2279a3 6ff87c4664981e4397625791c8ea3bbb5f2279a3 C100 path0/COPYING path1/COPYING