summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xgit-bz4
1 files changed, 4 insertions, 0 deletions
diff --git a/git-bz b/git-bz
index c7e391e..5b9c737 100755
--- a/git-bz
+++ b/git-bz
@@ -1436,6 +1436,10 @@ def do_apply(bug_reference):
print
for patch in bug.patches:
+ if patch.status == 'committed' or patch.status == 'rejected':
+ print "Skipping, %s: %s" % (patch.status, patch.description)
+ continue
+
print patch.description
if not prompt("Apply?"):
continue