X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=t%2Ft2203-add-intent.sh;fp=t%2Ft2203-add-intent.sh;h=cf0175ad6e414e3a126a205d56a9d910ec173641;hb=0ac0947b1470b2157fd4c085a1fd0b207d94b40b;hp=8a5d55054f2b7be55ee7eaefd6d9cfac5c344de0;hpb=11cbda2add5d3eb7c415f1f6dd8186181a7f9874;p=thirdparty%2Fgit.git diff --git a/t/t2203-add-intent.sh b/t/t2203-add-intent.sh index 8a5d55054f..cf0175ad6e 100755 --- a/t/t2203-add-intent.sh +++ b/t/t2203-add-intent.sh @@ -240,7 +240,6 @@ test_expect_success 'i-t-a files shown as new for "diff", "diff-files"; not-new hash_e=$(git hash-object empty) && hash_n=$(git hash-object not-empty) && - hash_t=$(git hash-object -t tree /dev/null) && cat >expect.diff_p <<-EOF && diff --git a/empty b/empty @@ -259,8 +258,8 @@ test_expect_success 'i-t-a files shown as new for "diff", "diff-files"; not-new create mode 100644 not-empty EOF cat >expect.diff_a <<-EOF && - :000000 100644 0000000 $(git rev-parse --short $hash_t) A$(printf "\t")empty - :000000 100644 0000000 $(git rev-parse --short $hash_t) A$(printf "\t")not-empty + :000000 100644 0000000 0000000 A$(printf "\t")empty + :000000 100644 0000000 0000000 A$(printf "\t")not-empty EOF git add -N empty not-empty &&