From e422eea9999a02262d3bad996879378ce1824541 Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Sat, 9 Jul 2011 14:10:50 -0400 Subject: apply: add interactive option Rather than asking whether or not to apply each patch individually, list all of the patches at once and allow the user to either apply all of them, apply none of them, or interactively choose which ones to apply (a la interactive rebasing). In addition to choosing which patches to apply, the interactive option also allows reordering the patches before applying, and choosing to apply committed or rejected patches. https://bugzilla.gnome.org/show_bug.cgi?id=657558 --- git-bz.txt | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'git-bz.txt') diff --git a/git-bz.txt b/git-bz.txt index 18bce74..0dcf7f7 100644 --- a/git-bz.txt +++ b/git-bz.txt @@ -134,10 +134,13 @@ apply 'git bz apply' [-n | --no-add-url] -For each patch attachment (except for obsolete patches) of the specified -bug, prompts whether to apply. If prompt is agreed to runs 'git am' on -the patch to apply it to the current branch. Aborts if 'git am' fails to -allow cleaning up conflicts. +Lists all "pending" patches on the specified bug (ie, the patches that +are not obsolete, committed, or rejected), and then prompts whether to +apply them. In addition to simply accepting or rejecting the list of +patches, you can also type "i" to interactively choose which patches +to apply, and in what order, as with 'git rebase -i'. If any patches +are selected, it runs 'git am' on each one to apply it to the current +branch. Aborts if 'git am' fails, to allow cleaning up conflicts. Examples: -- cgit v1.2.3