* [PATCH] t9129-git-svn-i18n-commitencoding: Make compare_svn_head_with() compatible with OSX sed
@ 2008-11-26 16:51 Marcel Koeppen
0 siblings, 0 replies; only message in thread
From: Marcel Koeppen @ 2008-11-26 16:51 UTC (permalink / raw)
To: gitster; +Cc: git
The sed call used in compare_svn_head_with() uses the + quantifier, which
is not supported in the OSX version of sed. It is replaced by the
equivalent \{1,\}.
Signed-off-by: Marcel Koeppen <git-dev@marzelpan.de>
---
t/t9129-git-svn-i18n-commitencoding.sh | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/t/t9129-git-svn-i18n-commitencoding.sh b/t/t9129-git-svn-i18n-commitencoding.sh
index 2848e46..938b7fe 100755
--- a/t/t9129-git-svn-i18n-commitencoding.sh
+++ b/t/t9129-git-svn-i18n-commitencoding.sh
@@ -16,7 +16,7 @@ compare_git_head_with () {
compare_svn_head_with () {
LC_ALL=en_US.UTF-8 svn log --limit 1 `git svn info --url` | \
- sed -e 1,3d -e "/^-\+\$/d" >current &&
+ sed -e 1,3d -e "/^-\{1,\}\$/d" >current &&
test_cmp current "$1"
}
--
1.6.0.4.771.gef3b3.dirty
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2008-11-26 16:58 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-26 16:51 [PATCH] t9129-git-svn-i18n-commitencoding: Make compare_svn_head_with() compatible with OSX sed Marcel Koeppen
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.