# [PATCH] Trivial sed fix up in t/t6001

1 messages from 2005-06-28 to 2005-06-28. Participants: Mark Allen.
Thread: https://gitlist.dev/t/1036

## Mark Allen, 2005-06-28 01:43

Subject: [PATCH] Trivial sed fix up in t/t6001
Message-ID: <20050628014337.18986.qmail@web41205.mail.yahoo.com>
URL: https://gitlist.dev/e/20050628014337.18986.qmail%40web41205.mail.yahoo.com

```
This trivial patch fixes up the sed expression used in t/t6001. It removes the semi-colon
seperator and replaces it with white space which makes the BSD sed(1) much happier.

Signed-off-by: Mark Allen <mrallen1@yahoo.com>



diff --git a/t/t6001-rev-list-merge-order.sh b/t/t6001-rev-list-merge-order.sh
--- a/t/t6001-rev-list-merge-order.sh
+++ b/t/t6001-rev-list-merge-order.sh
@@ -40,7 +40,8 @@ save_tag()
 	[ -n "$_tag" ] || error "usage: save_tag tag commit-args ..."
 	shift 1
     	"$@" >.git/refs/tags/$_tag
-    	sed_script="s/$(tag $_tag)/$_tag/g${sed_script+;}$sed_script"
+    	sed_script="s/$(tag $_tag)/$_tag/g
+$sed_script"
 }
 
 # Replace unhelpful sha1 hashses with their symbolic equivalents 

```
