···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.
4141-non_reflog=$(svn_cmd ls "$svnrepo/pr ject/branches" | grep not-a | sed 's/\///' | sed 's/@/%40/')
4141+non_reflog=$(svn_cmd ls "$svnrepo/pr ject/branches" | sed -ne '/not-a/ { s/\///; s/@/%40/; p }')
42424343test_expect_success 'test clone with funky branch names' '
4444 git svn clone -s "$svnrepo/pr ject" project &&
+1-1
t/t9350-fast-export.sh
···537537538538test_expect_success 'set-up a few more tags for tag export tests' '
539539 git checkout -f main &&
540540- HEAD_TREE=$(git show -s --pretty=raw HEAD | grep tree | sed "s/tree //") &&
540540+ HEAD_TREE=$(git show -s --pretty=raw HEAD | sed -n "/tree/s/tree //p") &&
541541 git tag tree_tag -m "tagging a tree" $HEAD_TREE &&
542542 git tag -a tree_tag-obj -m "tagging a tree" $HEAD_TREE &&
543543 git tag tag-obj_tag -m "tagging a tag" tree_tag-obj &&