summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOwen W. Taylor <otaylor@fishsoup.net>2015-02-26 15:43:33 -0500
committerOwen W. Taylor <otaylor@fishsoup.net>2015-02-26 15:43:33 -0500
commit89873f9e81bb8b3715e11c6ece190a088d556a28 (patch)
treeb7607016ce1103377386ce91c3c993ef6ebee3ea
parentfcd0f0e79187b3c6ecea3bb5018fafe97a0aec5a (diff)
downloadgit-bz-89873f9e81bb8b3715e11c6ece190a088d556a28.tar.gz
Show the status of all patches, not just accepted patches
It's a bit confusing to show some patch statuses, but not others. Switch to showing all statuses. https://bugzilla.gnome.org/review?bug=678152
-rwxr-xr-xgit-bz4
1 files changed, 2 insertions, 2 deletions
diff --git a/git-bz b/git-bz
index f17495e..93a3b83 100755
--- a/git-bz
+++ b/git-bz
@@ -1682,7 +1682,7 @@ def do_apply(*args):
patches.append(patch)
for patch in patches:
- if patch.status == 'accepted-commit_now' or patch.status == 'accepted-commit_after_freeze':
+ if patch.status != 'none':
print "%d (%s) - %s" % (patch.attach_id, patch.status, patch.description)
else:
print "%d - %s" % (patch.attach_id, patch.description)
@@ -1698,7 +1698,7 @@ def do_apply(*args):
patches_by_id[patch.attach_id] = patch
if patch.status == 'committed' or patch.status == 'rejected':
template.write("#%d - %s (%s)\n" % (patch.attach_id, patch.description, patch.status))
- elif patch.status == 'accepted-commit_now' or patch.status == 'accepted-commit_after_freeze':
+ elif patch.status != 'none':
template.write("%d - %s (%s)\n" % (patch.attach_id, patch.description, patch.status))
else:
template.write("%d - %s\n" % (patch.attach_id, patch.description))