{"thread":{"id":"16479","subject":"[PATCH] t9129-git-svn-i18n-commitencoding: Make compare_svn_head_with() compatible with OSX sed","startedAt":"2008-11-26T16:51:01Z","lastAt":"2008-11-26T16:51:01Z","messageCount":1,"participants":["Marcel Koeppen"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"96558","messageId":"1227718261-12615-1-git-send-email-git-dev@marzelpan.de","threadId":"16479","inReplyTo":null,"subject":"[PATCH] t9129-git-svn-i18n-commitencoding: Make compare_svn_head_with() compatible with OSX sed","fromName":"Marcel Koeppen","fromEmail":"git-dev@marzelpan.de","sentAt":"2008-11-26T16:51:01Z","receivedAt":"2008-11-26T16:51:01Z","isPatch":true,"sender":{"key":"git-dev@marzelpan.de","avatar":"https://gravatar.com/avatar/73c4b29dc13b236d868ba2f40a10262caaf43c0e37d48c459ca07bf3176fa1ba?d=mp&s=160"},"body":"The sed call used in compare_svn_head_with() uses the + quantifier, which\nis not supported in the OSX version of sed. It is replaced by the\nequivalent \\{1,\\}.\n\nSigned-off-by: Marcel Koeppen <git-dev@marzelpan.de>\n---\n t/t9129-git-svn-i18n-commitencoding.sh |    2 +-\n 1 files changed, 1 insertions(+), 1 deletions(-)\n\ndiff --git a/t/t9129-git-svn-i18n-commitencoding.sh b/t/t9129-git-svn-i18n-commitencoding.sh\nindex 2848e46..938b7fe 100755\n--- a/t/t9129-git-svn-i18n-commitencoding.sh\n+++ b/t/t9129-git-svn-i18n-commitencoding.sh\n@@ -16,7 +16,7 @@ compare_git_head_with () {\n \n compare_svn_head_with () {\n \tLC_ALL=en_US.UTF-8 svn log --limit 1 `git svn info --url` | \\\n-\t\tsed -e 1,3d -e \"/^-\\+\\$/d\" >current &&\n+\t\tsed -e 1,3d -e \"/^-\\{1,\\}\\$/d\" >current &&\n \ttest_cmp current \"$1\"\n }\n \n-- \n1.6.0.4.771.gef3b3.dirty\n"}]}