diff options
author | Lea Wiemann <lewiemann@gmail.com> | 2008-06-09 01:03:13 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-06-09 13:31:23 -0700 |
commit | 4e44ae45fe96c6972c3e5d4aac2a149972429deb (patch) | |
tree | c5d525bea2932d51053b55284ad6ec018d3e8fd4 /t/t1006-cat-file.sh | |
parent | 457bb452919887ff5e8007d02e93f443fdb6f1e9 (diff) | |
download | git-4e44ae45fe96c6972c3e5d4aac2a149972429deb.tar.gz |
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-x | t/t1006-cat-file.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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 |