@matheusbsbs / matheus-bagliano / commits / 4e44ae45fe
Fork 0

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>

Lea Wiemann committed Jun 9, 2008 at 01:03 UTC 4e44ae45fe96c6972c3e5d4aac2a149972429deb
1 file changed +1 -1
t/t1006-cat-file.sh
+1 -1
@@ -74,7 +74,7 @@ $content"
74 test -z "$content" ||
75 test_expect_success "--batch output of $type is correct" '
76 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)"
78 if test "z$expect" = "z$actual"
79 then
80 : happy