{"thread":{"id":"1085","subject":"[PATCH] Change the sed seperator in t/t6000-lib.sh.","startedAt":"2005-07-01T15:02:04Z","lastAt":"2005-07-01T15:02:04Z","messageCount":1,"participants":["Jon Seymour"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"5536","messageId":"20050701150204.9523.qmail@blackcubes.dyndns.org","threadId":"1085","inReplyTo":null,"subject":"[PATCH] Change the sed seperator in t/t6000-lib.sh.","fromName":"Jon Seymour","fromEmail":"jon.seymour@gmail.com","sentAt":"2005-07-01T15:02:04Z","receivedAt":"2005-07-01T15:02:04Z","isPatch":true,"sender":{"key":"jon.seymour@gmail.com","avatar":"https://avatars.githubusercontent.com/u/207131?v=4"},"body":"\nThis trivial patch removes the semicolon as the sed seperator in the t/t6000-lib.sh test script\nand replaces it with white space.  This makes BSD sed(1) much happier.\n\nSigned-off-by: Mark Allen <mrallen1@yahoo.com>\nSigned-off-by: Jon Seymour <jon.seymour@gmail.com>\n---\nI've applied this to the code that was moved from t/t6001... into t/t6000-lib.sh\n---\n\n t/t6000-lib.sh |    4 +++-\n 1 files changed, 3 insertions(+), 1 deletions(-)\n\nd88e09bab26e42f0777b4244a62b21c37c01ceea\ndiff --git a/t/t6000-lib.sh b/t/t6000-lib.sh\n--- a/t/t6000-lib.sh\n+++ b/t/t6000-lib.sh\n@@ -28,7 +28,9 @@ 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+\n+       sed_script=\"s/$(tag $_tag)/$_tag/g\n+$sed_script\"\n }\n \n # Replace unhelpful sha1 hashses with their symbolic equivalents \n------------\n"}]}