{"thread":{"id":"1036","subject":"[PATCH] Trivial sed fix up in t/t6001","startedAt":"2005-06-28T01:43:37Z","lastAt":"2005-06-28T01:43:37Z","messageCount":1,"participants":["Mark Allen"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"5314","messageId":"20050628014337.18986.qmail@web41205.mail.yahoo.com","threadId":"1036","inReplyTo":null,"subject":"[PATCH] Trivial sed fix up in t/t6001","fromName":"Mark Allen","fromEmail":"mrallen1@yahoo.com","sentAt":"2005-06-28T01:43:37Z","receivedAt":"2005-06-28T01:43:37Z","isPatch":true,"sender":{"key":"mrallen1@yahoo.com","avatar":null},"body":"This trivial patch fixes up the sed expression used in t/t6001. It removes the semi-colon\nseperator and replaces it with white space which makes the BSD sed(1) much happier.\n\nSigned-off-by: Mark Allen <mrallen1@yahoo.com>\n\n\n\ndiff --git a/t/t6001-rev-list-merge-order.sh b/t/t6001-rev-list-merge-order.sh\n--- a/t/t6001-rev-list-merge-order.sh\n+++ b/t/t6001-rev-list-merge-order.sh\n@@ -40,7 +40,8 @@ save_tag()\n \t[ -n \"$_tag\" ] || error \"usage: save_tag tag commit-args ...\"\n \tshift 1\n     \t\"$@\" >.git/refs/tags/$_tag\n-    \tsed_script=\"s/$(tag $_tag)/$_tag/g${sed_script+;}$sed_script\"\n+    \tsed_script=\"s/$(tag $_tag)/$_tag/g\n+$sed_script\"\n }\n \n # Replace unhelpful sha1 hashses with their symbolic equivalents \n"}]}