From: Jon Seymour Date: Wed, 6 Jul 2005 10:11:29 +0000 (+1000) Subject: [PATCH] Change the sed seperator in t/t6000-lib.sh. X-Git-Tag: v0.99~55 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=f6069c5995114d0fb2fba1140be5db717ff3b396;p=git.git [PATCH] Change the sed seperator in t/t6000-lib.sh. This trivial patch removes the semicolon as the sed seperator in the t/t6000-lib.sh test script and replaces it with white space. This makes BSD sed(1) much happier. Signed-off-by: Mark Allen Signed-off-by: Jon Seymour Signed-off-by: Linus Torvalds --- diff --git a/t/t6000-lib.sh b/t/t6000-lib.sh index aa7a98a0..377e8eb7 100644 --- a/t/t6000-lib.sh +++ b/t/t6000-lib.sh @@ -28,7 +28,9 @@ 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