summaryrefslogtreecommitdiffstats
path: root/git-bz.txt
diff options
context:
space:
mode:
authorDan Winship <danw@gnome.org>2011-08-02 10:57:48 -0400
committerOwen W. Taylor <otaylor@fishsoup.net>2012-03-01 13:52:04 -0500
commitf69a952c5d66fcd2da40d125374608c04f39960b (patch)
tree6358e0a2f34c3687a1b1385fdd4a2f7c2be986d2 /git-bz.txt
parentce11237046a1af9728f7d0544c6aae8eb1d5c7d3 (diff)
downloadgit-bz-f69a952c5d66fcd2da40d125374608c04f39960b.tar.gz
apply: attempt to handle plain diffs
If a bug has a plain diff (as opposed to git-format-patch output), prepend some minimal headers to it to get it into a format git-am will accept, and then make the user write a commit message for it before proceeding. https://bugzilla.gnome.org/show_bug.cgi?id=657558
Diffstat (limited to 'git-bz.txt')
-rw-r--r--git-bz.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/git-bz.txt b/git-bz.txt
index 2fa298f..9817120 100644
--- a/git-bz.txt
+++ b/git-bz.txt
@@ -143,7 +143,9 @@ 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.
+branch. (If the bug contains patches in the form of plain diffs, 'git
+bz apply' will create a commit based on the other patch metadata, and
+prompt you for a commit message.)
If a 'git am' operation fails, 'git bz apply' will save its state and
then exit, at which point you can attempt to apply the patch by hand