public inbox for bunsen@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] r-dejagnu-diff-logs: fix patched-unpatched typo
@ 2022-08-15 16:28 Keith Seitz
  2022-08-22 16:10 ` Keith Seitz
  0 siblings, 1 reply; 2+ messages in thread
From: Keith Seitz @ 2022-08-15 16:28 UTC (permalink / raw)
  To: bunsen

There is a little typo in get_commits() which could (or will) cause the
user some confusion. The unpatched and patched commits are reversed
because of a typo!
---
 bin/r-dejagnu-diff-logs | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/bin/r-dejagnu-diff-logs b/bin/r-dejagnu-diff-logs
index 2297b2a..2e595ae 100755
--- a/bin/r-dejagnu-diff-logs
+++ b/bin/r-dejagnu-diff-logs
@@ -97,8 +97,8 @@ def get_commits(testruns, args):
     unpatched_commit = None
     patched_commit = None
     try:
-        unpatched_commit = testruns.commit(args.patched)
-        patched_commit = testruns.commit(args.unpatched)
+        unpatched_commit = testruns.commit(args.unpatched)
+        patched_commit = testruns.commit(args.patched)
     except Exception as e:
         pass
     return (unpatched_commit, patched_commit)
-- 
2.36.1


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] r-dejagnu-diff-logs: fix patched-unpatched typo
  2022-08-15 16:28 [PATCH] r-dejagnu-diff-logs: fix patched-unpatched typo Keith Seitz
@ 2022-08-22 16:10 ` Keith Seitz
  0 siblings, 0 replies; 2+ messages in thread
From: Keith Seitz @ 2022-08-22 16:10 UTC (permalink / raw)
  To: bunsen

On 8/15/22 09:28, Keith Seitz via Bunsen wrote:
> There is a little typo in get_commits() which could (or will) cause the
> user some confusion. The unpatched and patched commits are reversed
> because of a typo!

I've pushed this patch.

Keith


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-08-22 16:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-15 16:28 [PATCH] r-dejagnu-diff-logs: fix patched-unpatched typo Keith Seitz
2022-08-22 16:10 ` Keith Seitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).