Skip to content

Commit f5206f1

Browse files
committed
Merge branch 'es/blame-L-breakage'
* es/blame-L-breakage: t8001, t8002: fix "blame -L :literal" test on NetBSD
2 parents a48ed48 + 3a4fc21 commit f5206f1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

t/annotate-tests.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -245,8 +245,8 @@ test_expect_success 'setup -L :regex' '
245245
git commit -m "hello" &&
246246
247247
mv hello.c hello.orig &&
248-
sed -e "/}/i\\
249-
Qputs(\"goodbye\");" <hello.orig | tr Q "\\t" >hello.c &&
248+
sed -e "/}/ {x; s/$/Qputs(\"goodbye\");/; G;}" <hello.orig |
249+
tr Q "\\t" >hello.c &&
250250
GIT_AUTHOR_NAME="G" GIT_AUTHOR_EMAIL="[email protected]" \
251251
git commit -a -m "goodbye" &&
252252

0 commit comments

Comments
 (0)