* [PATCH] Trivial sed fix up in t/t6001
@ 2005-07-01 13:55 Mark Allen
2005-07-01 15:51 ` Jon Seymour
0 siblings, 1 reply; 3+ messages in thread
From: Mark Allen @ 2005-07-01 13:55 UTC (permalink / raw)
To: jon.seymour, torvalds; +Cc: git
[-- Attachment #1: Type: text/plain, Size: 359 bytes --]
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
[-- Attachment #2: 1890562984-t6001-sed-fixup.patch.txt --]
[-- Type: text/plain, Size: 486 bytes --]
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
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [PATCH] Trivial sed fix up in t/t6001
2005-07-01 13:55 [PATCH] Trivial sed fix up in t/t6001 Mark Allen
@ 2005-07-01 15:51 ` Jon Seymour
0 siblings, 0 replies; 3+ messages in thread
From: Jon Seymour @ 2005-07-01 15:51 UTC (permalink / raw)
To: Mark Allen; +Cc: torvalds, git
On 7/1/05, Mark Allen <mrallen1@yahoo.com> wrote:
> 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
Ack'd. I have also re-applied it to the code I moved into
t/t6000-lib.sh in my recent patch series, so it is fit to go in one
way or another!
jon.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH] Trivial sed fix up in t/t6001
@ 2005-06-28 1:43 Mark Allen
0 siblings, 0 replies; 3+ messages in thread
From: Mark Allen @ 2005-06-28 1:43 UTC (permalink / raw)
To: git
[-- Attachment #1: Type: text/plain, Size: 223 bytes --]
This trivial patch fixes up the sed expression used in t/t6001. It removes the semi-colon
seperator and replaces it with white space which makes the BSD sed(1) much happier.
Signed-off-by: Mark Allen <mrallen1@yahoo.com>
[-- Attachment #2: 1890562984-t6001-sed-fixup.patch.txt --]
[-- Type: text/plain, Size: 486 bytes --]
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2005-07-01 15:43 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-01 13:55 [PATCH] Trivial sed fix up in t/t6001 Mark Allen
2005-07-01 15:51 ` Jon Seymour
-- strict thread matches above, loose matches on Subject: below --
2005-06-28 1:43 Mark Allen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).