aboutsummaryrefslogtreecommitdiff
path: root/t/t1006-cat-file.sh
diff options
context:
space:
mode:
authorLea Wiemann <lewiemann@gmail.com>2008-06-09 01:03:13 +0200
committerJunio C Hamano <gitster@pobox.com>2008-06-09 13:31:23 -0700
commit4e44ae45fe96c6972c3e5d4aac2a149972429deb (patch)
treec5d525bea2932d51053b55284ad6ec018d3e8fd4 /t/t1006-cat-file.sh
parent457bb452919887ff5e8007d02e93f443fdb6f1e9 (diff)
downloadgit-4e44ae45fe96c6972c3e5d4aac2a149972429deb.tar.gz
git-4e44ae45fe96c6972c3e5d4aac2a149972429deb.tar.xz
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 <LeWiemann@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t1006-cat-file.sh')
-rwxr-xr-xt/t1006-cat-file.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t1006-cat-file.sh b/t/t1006-cat-file.sh
index cb1fbe582..973aef7a8 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