Skip to content

Commit

Permalink
t/t9118-git-svn-funky-branch-names.sh: sed needs semicolon
Browse files Browse the repository at this point in the history
POSIX specifies that all editing commands between braces shall be
terminated by a <newline> or <semicolon>.

Signed-off-by: Marcel Telka <marcel@telka.sk>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
mtelka authored and gitster committed May 17, 2024
1 parent 50acb48 commit 22c22d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion t/t9118-git-svn-funky-branch-names.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ test_expect_success 'setup svnrepo' '
# SVN 1.7 will truncate "not-a%40{0]" to just "not-a".
# Look at what SVN wound up naming the branch and use that.
# Be sure to escape the @ if it shows up.
non_reflog=$(svn_cmd ls "$svnrepo/pr ject/branches" | sed -ne '/not-a/ { s/\///; s/@/%40/; p }')
non_reflog=$(svn_cmd ls "$svnrepo/pr ject/branches" | sed -ne '/not-a/ { s/\///; s/@/%40/; p; }')

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

0 comments on commit 22c22d3

Please sign in to comment.