We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a48ed48 + 3a4fc21 commit f5206f1Copy full SHA for f5206f1
t/annotate-tests.sh
@@ -245,8 +245,8 @@ test_expect_success 'setup -L :regex' '
245
git commit -m "hello" &&
246
247
mv hello.c hello.orig &&
248
- sed -e "/}/i\\
249
- Qputs(\"goodbye\");" <hello.orig | tr Q "\\t" >hello.c &&
+ sed -e "/}/ {x; s/$/Qputs(\"goodbye\");/; G;}" <hello.orig |
+ tr Q "\\t" >hello.c &&
250
GIT_AUTHOR_NAME="G" GIT_AUTHOR_EMAIL="[email protected]" \
251
git commit -a -m "goodbye" &&
252
0 commit comments