public inbox for git@vger.kernel.org 
 help / color / mirror / Atom feed
From: Bryan Larsen <bryan@larsen•st>
To: git@vger•kernel.org
Subject: [PATCH] posix compatibility for t4200
Date: Wed, 02 May 2007 17:53:23 -0400	[thread overview]
Message-ID: <46390853.2030306@larsen.st> (raw)

Fix t4200 so that it also works on OS X by not relying on gnu extensions 
to sed.

Signed-off-by: Bryan Larsen <bryan@larsen•st>
---
  t/t4200-rerere.sh |    2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/t/t4200-rerere.sh b/t/t4200-rerere.sh
index 6ba63d7..300e90e 100755
--- a/t/t4200-rerere.sh
+++ b/t/t4200-rerere.sh
@@ -44,7 +44,7 @@ mkdir .git/rr-cache

  test_expect_failure 'conflicting merge' 'git pull . first'

-sha1=$(sed -e 's/\t.*//' .git/rr-cache/MERGE_RR)
+sha1=$(sed -e 's/[[:space:]].*//' .git/rr-cache/MERGE_RR)
  rr=.git/rr-cache/$sha1
  test_expect_success 'recorded preimage' "grep ======= $rr/preimage"

-- 
1.5.1

                 reply	other threads:[~2007-05-02 21:51 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=46390853.2030306@larsen.st \
    --to=bryan@larsen$(echo .)st \
    --cc=git@vger$(echo .)kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox