git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH] Trivial sed fix up in t/t6001

From
MAMark Allen <mrallen1@yahoo.com>
Date
Jul 1, 2005, 13:55 UTC
Message-ID
<20050701135516.87892.qmail@web41208.mail.yahoo.com>
Change the sed seperator in t/t6001.

This trivial patch removes the semicolon as the sed seperator in the t/t6001 test script and replaces it with white space. This makes BSD sed(1) much happier.

Signed-off-by: Mark Allen <mrallen1@yahoo.com>
===
Jon,
If you could ack this patch or incorporate it into your tree, I'd be very obliged.
Thanks,
--Mark
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 
Next: Jon Seymour
Message 1 of 2 in “Trivial sed fix up in t/t6001”
  1. Trivial sed fix up in t/t6001Mark Allen, Jul 1, 2005
  2. Jon SeymourJul 1, 2005

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.