git.99rst.org
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
73c427e
)
t9129-git-svn-i18n-commitencoding: Make compare_svn_head_with() compatible with OSX sed
author
Marcel Koeppen
<redacted>
Wed, 26 Nov 2008 16:51:01 +0000
(17:51 +0100)
committer
Junio C Hamano
<redacted>
Wed, 26 Nov 2008 18:09:52 +0000
(10:09 -0800)
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 <redacted>
Signed-off-by: Junio C Hamano <redacted>
t/t9129-git-svn-i18n-commitencoding.sh
patch
|
blob
|
history
diff --git
a/t/t9129-git-svn-i18n-commitencoding.sh
b/t/t9129-git-svn-i18n-commitencoding.sh
index 2848e46e38e1b664447e1ae8fc20d47c41e2acb5..938b7fe4b4027e2e74da6f816a43811cdf902204 100755
(executable)
--- 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"
}
git clone https://git.99rst.org/PROJECT