Skip to content

Commit 22c22d3

Browse files
mtelkagitster
authored andcommitted
t/t9118-git-svn-funky-branch-names.sh: sed needs semicolon
POSIX specifies that all editing commands between braces shall be terminated by a <newline> or <semicolon>. Signed-off-by: Marcel Telka <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 50acb48 commit 22c22d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

t/t9118-git-svn-funky-branch-names.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ test_expect_success 'setup svnrepo' '
3838
# SVN 1.7 will truncate "not-a%40{0]" to just "not-a".
3939
# Look at what SVN wound up naming the branch and use that.
4040
# Be sure to escape the @ if it shows up.
41-
non_reflog=$(svn_cmd ls "$svnrepo/pr ject/branches" | sed -ne '/not-a/ { s/\///; s/@/%40/; p }')
41+
non_reflog=$(svn_cmd ls "$svnrepo/pr ject/branches" | sed -ne '/not-a/ { s/\///; s/@/%40/; p; }')
4242

4343
test_expect_success 'test clone with funky branch names' '
4444
git svn clone -s "$svnrepo/pr ject" project &&

0 commit comments

Comments
 (0)