diff options
-rw-r--r-- | t/t6000-lib.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/t/t6000-lib.sh b/t/t6000-lib.sh index aa7a98a01b..377e8eb77b 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 |