Skip to content

Commit

Permalink
t1006-cat-file.sh: typo
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Lea Wiemann authored and gitster committed Jun 9, 2008
1 parent 457bb45 commit 4e44ae4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion t/t1006-cat-file.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4e44ae4

Please sign in to comment.