From ae1c2a710f43697ad31460044377c3b8a0459bbb Mon Sep 17 00:00:00 2001 From: "Owen W. Taylor" Date: Thu, 26 Feb 2015 15:46:36 -0500 Subject: git bz apply: use consistent ordering of status and description We ordered status and description differently in the initial display and in interactive mode. While the two modes are arguably a bit different in how you are using the information, it's better to use a consistent ordering so the user can learn where to look. https://bugzilla.gnome.org/show_bug.cgi?id=678152 --- git-bz | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/git-bz b/git-bz index 93a3b83..b558f96 100755 --- a/git-bz +++ b/git-bz @@ -1677,13 +1677,13 @@ def do_apply(*args): for patch in bug.patches: if patch.status == 'committed' or patch.status == 'rejected': - print "%d (skipping, %s) - %s" % (patch.attach_id, patch.status, patch.description) + print "%d - %s (skipping, %s)" % (patch.attach_id, patch.description, patch.status) else: patches.append(patch) for patch in patches: if patch.status != 'none': - print "%d (%s) - %s" % (patch.attach_id, patch.status, patch.description) + print "%d - %s (%s)" % (patch.attach_id, patch.description, patch.status) else: print "%d - %s" % (patch.attach_id, patch.description) print -- cgit