From: Lea Wiemann Date: Sun, 8 Jun 2008 23:03:13 +0000 (+0200) Subject: t1006-cat-file.sh: typo X-Git-Tag: v1.5.6-rc3~35 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/4e44ae45fe96c6972c3e5d4aac2a149972429deb t1006-cat-file.sh: typo Previously timestamps were removed unconditionally (though this didn't seem to break this test). Now they are only removed if $no_ts is non-empty. Signed-off-by: Lea Wiemann Signed-off-by: Junio C Hamano --- diff --git a/t/t1006-cat-file.sh b/t/t1006-cat-file.sh index cb1fbe5820..973aef7a8e 100755 --- a/t/t1006-cat-file.sh +++ b/t/t1006-cat-file.sh @@ -74,7 +74,7 @@ $content" test -z "$content" || test_expect_success "--batch output of $type is correct" ' expect="$(maybe_remove_timestamp "$batch_output" $no_ts)" - actual="$(maybe_remove_timestamp "$(echo $sha1 | git cat-file --batch)" no_ts)" + actual="$(maybe_remove_timestamp "$(echo $sha1 | git cat-file --batch)" $no_ts)" if test "z$expect" = "z$actual" then : happy