summaryrefslogtreecommitdiff
path: root/t/t9129-git-svn-i18n-commitencoding.sh
diff options
context:
space:
mode:
authorMarcel Koeppen <git-dev@marzelpan.de>2008-11-26 17:51:01 +0100
committerJunio C Hamano <gitster@pobox.com>2008-11-26 10:09:52 -0800
commit26d6cc555db0144961bcb3537312cc5a7b6d84d1 (patch)
treec53e6e7efa1d772b84b6c681fd70a36755710b30 /t/t9129-git-svn-i18n-commitencoding.sh
parent73c427eb99a9bb8a3ade40809194405ddb1fd733 (diff)
downloadgit-26d6cc555db0144961bcb3537312cc5a7b6d84d1.tar.gz
t9129-git-svn-i18n-commitencoding: Make compare_svn_head_with() compatible with OSX sed
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> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t9129-git-svn-i18n-commitencoding.sh')
-rwxr-xr-xt/t9129-git-svn-i18n-commitencoding.sh2
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 2848e46e38..938b7fe4b4 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"
}