Hi Jonathan t4111 never worked under valgrind on my machine, building 9f41a91 and then running it with --valgrind results in: expecting success: cp postimage expected && reset_subdir preimage other && ( cd sub/dir && test_must_fail git apply --index "$patch" ) && reset_subdir other preimage && ( cd sub/dir && test_must_fail git apply --index "$patch" ) && reset_subdir preimage preimage && ( cd sub/dir && git apply --index "$patch" ) && git show :sub/dir/file >actual && test_cmp expected actual && test_cmp expected sub/dir/file error: sub/dir/file: does not match index error: sub/dir/file: does not match index error: sub/dir/file: does not match index not ok - 5 apply --index from subdir of toplevel # # cp postimage expected && # reset_subdir preimage other && # ( # cd sub/dir && # test_must_fail git apply --index "$patch" # ) && # reset_subdir other preimage && # ( # cd sub/dir && # test_must_fail git apply --index "$patch" # ) && # reset_subdir preimage preimage && # ( # cd sub/dir && # git apply --index "$patch" # ) && # git show :sub/dir/file >actual && # test_cmp expected actual && # test_cmp expected sub/dir/file # Any ideas what might be going wrong? -- Thomas Rast trast@{inf,student}.ethz.ch -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html