Skip to content

Commit 4e44ae4

Browse files
Lea Wiemanngitster
authored andcommitted
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>
1 parent 457bb45 commit 4e44ae4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

t/t1006-cat-file.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ $content"
7474
test -z "$content" ||
7575
test_expect_success "--batch output of $type is correct" '
7676
expect="$(maybe_remove_timestamp "$batch_output" $no_ts)"
77-
actual="$(maybe_remove_timestamp "$(echo $sha1 | git cat-file --batch)" no_ts)"
77+
actual="$(maybe_remove_timestamp "$(echo $sha1 | git cat-file --batch)" $no_ts)"
7878
if test "z$expect" = "z$actual"
7979
then
8080
: happy

0 commit comments

Comments
 (0)