summaryrefslogtreecommitdiffstats
path: root/git-bz.txt
diff options
context:
space:
mode:
authorJasper St. Pierre <jstpierre@mecheye.net>2012-03-12 16:27:35 -0400
committerOwen W. Taylor <otaylor@fishsoup.net>2012-03-13 12:29:10 -0400
commit1cef6f1875462583e57d1543f313d4b4c585149f (patch)
tree5c41b9fb2b7b9efeee0fbc4013ed69cfc7600eaa /git-bz.txt
parent31088e0d0ef177358831363f547084c76f8e8451 (diff)
downloadgit-bz-1cef6f1875462583e57d1543f313d4b4c585149f.tar.gz
attach: Obsolete patches with the same subject
For plain 'git bz attach', always obsolete existing patches if they have the same subject as the commit being attached. For 'git bz attach -e', make this the default. https://bugzilla.gnome.org/show_bug.cgi?id=671941
Diffstat (limited to 'git-bz.txt')
-rw-r--r--git-bz.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/git-bz.txt b/git-bz.txt
index 9817120..02df8d1 100644
--- a/git-bz.txt
+++ b/git-bz.txt
@@ -187,6 +187,11 @@ to the bug (see 'git bz add-url'). This can be suppressed with the
allow the user to edit the description and comment for each patch,
and (by uncommenting lines) obsolete old patches.
+When a commit with the same subject as an existing patch is attached,
+this is interpreted as a new version of the existing patch and the old
+patch is obsoleted. (With '-e', the obsoletes line can be commented
+to suppress this.)
+
Examples:
----------------------------------------
# Attach the last commit