{"thread":{"id":"61503","subject":"[PATCH] t/t9118-git-svn-funky-branch-names.sh: sed needs semicolon","startedAt":"2024-05-17T15:39:32Z","lastAt":"2024-05-17T15:39:32Z","messageCount":1,"participants":["Marcel Telka"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"494977","messageId":"Zkd6MNomE4HLRlYh@telcontar","threadId":"61503","inReplyTo":null,"subject":"[PATCH] t/t9118-git-svn-funky-branch-names.sh: sed needs semicolon","fromName":"Marcel Telka","fromEmail":"marcel@telka.sk","sentAt":"2024-05-17T15:39:28Z","receivedAt":"2024-05-17T15:39:32Z","isPatch":true,"sender":{"key":"marcel@telka.sk","avatar":"https://avatars.githubusercontent.com/u/3000173?v=4"},"body":"POSIX specifies that all editing commands between braces shall be\nterminated by a <newline> or <semicolon>.\n\nSigned-off-by: Marcel Telka <marcel@telka.sk>\n---\n t/t9118-git-svn-funky-branch-names.sh | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)\n\ndiff --git a/t/t9118-git-svn-funky-branch-names.sh b/t/t9118-git-svn-funky-branch-names.sh\nindex d3261e35b8..a34fd46ecc 100755\n--- a/t/t9118-git-svn-funky-branch-names.sh\n+++ b/t/t9118-git-svn-funky-branch-names.sh\n@@ -38,7 +38,7 @@ test_expect_success 'setup svnrepo' '\n # SVN 1.7 will truncate \"not-a%40{0]\" to just \"not-a\".\n # Look at what SVN wound up naming the branch and use that.\n # Be sure to escape the @ if it shows up.\n-non_reflog=$(svn_cmd ls \"$svnrepo/pr ject/branches\" | sed -ne '/not-a/ { s/\\///; s/@/%40/; p }')\n+non_reflog=$(svn_cmd ls \"$svnrepo/pr ject/branches\" | sed -ne '/not-a/ { s/\\///; s/@/%40/; p; }')\n \n test_expect_success 'test clone with funky branch names' '\n \tgit svn clone -s \"$svnrepo/pr ject\" project &&\n"}]}