# [PATCH] t1006-cat-file.sh: typo

1 messages from 2008-06-08 to 2008-06-08. Participants: Lea Wiemann.
Thread: https://gitlist.dev/t/13867

## Lea Wiemann, 2008-06-08 23:03

Subject: [PATCH] t1006-cat-file.sh: typo
Message-ID: <1212966193-27969-1-git-send-email-LeWiemann@gmail.com>
URL: https://gitlist.dev/e/1212966193-27969-1-git-send-email-LeWiemann%40gmail.com

```
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>
---
The no_ts feature doesn't seem to be particularly important (it still
works if you switch it always on), but for now I'll just fix it so
that it does what the author apparently intended.

 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 cb1fbe5..973aef7 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
-- 
1.5.6.rc1.19.gec491.dirty

```
