From: "Michael S. Tsirkin" <mst@redhat.com>
To: virtio-comment@lists.oasis-open.org, virtio-dev@lists.oasis-open.org
Cc: virtio@lists.oasis-open.org
Subject: [virtio] [PATCH] fixupdiff: reverse add/del for code snippets
Date: Wed, 20 Apr 2022 13:15:53 -0400 [thread overview]
Message-ID: <20220420171550.3609-1-mst@redhat.com> (raw)
Turns out added/deleted versions for code snippets
were reversed and no one noticed. Fix it up.
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
---
fixupdiff.pl | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/fixupdiff.pl b/fixupdiff.pl
index e7d3a0f..1c6b8e2 100644
--- a/fixupdiff.pl
+++ b/fixupdiff.pl
@@ -40,9 +40,9 @@ while (<>) {
#also at beginning of line
$line =~ s/^(\^)/\\$1/g;
if ($add) {
- $line =~ s/(.*)/\$\\DIFdel\{$1\}\$/;
- } else {
$line =~ s/(.*)/\$\\DIFadd\{$1\}\$/;
+ } else {
+ $line =~ s/(.*)/\$\\DIFdel\{$1\}\$/;
}
}
#print "%FIXED BY RULE 1\n";
--
MST
---------------------------------------------------------------------
To unsubscribe from this mail list, you must leave the OASIS TC that
generates this mail. Follow this link to all your TCs in OASIS at:
https://www.oasis-open.org/apps/org/workgroup/portal/my_workgroups.php
reply other threads:[~2022-04-20 17:15 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220420171550.3609-1-mst@redhat.com \
--to=mst@redhat.com \
--cc=virtio-comment@lists.oasis-open.org \
--cc=virtio-dev@lists.oasis-open.org \
--cc=virtio@lists.oasis-open.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox