summaryrefslogtreecommitdiffstats
path: root/TODO
diff options
context:
space:
mode:
authorOwen W. Taylor <otaylor@fishsoup.net>2008-11-16 11:59:29 -0500
committerOwen W. Taylor <otaylor@fishsoup.net>2008-11-16 11:59:29 -0500
commitfde186b65504c3cada82f84ac9763acf0fed128a (patch)
treee08624505fc519b94abf60b5ebb00a5d7336ad8a /TODO
parent460bc5e581e20ef28e4642e3ba0a635f7a678aa3 (diff)
downloadgit-bz-fde186b65504c3cada82f84ac9763acf0fed128a.tar.gz
Add add-url subcommand and -u/--add-url command line options
git bz add-url: new subcommand to rewrite old commit messages to include a bug URL. git bz attach/file: -u/--add-url option rewrites commit messages as with 'add-url' before attaching patches to bugzilla. git bz apply: -u/--add-url option rewrites commit messages after applying patches to the current tree.
Diffstat (limited to 'TODO')
-rw-r--r--TODO21
1 files changed, 7 insertions, 14 deletions
diff --git a/TODO b/TODO
index 2fc20fa..010c89c 100644
--- a/TODO
+++ b/TODO
@@ -6,20 +6,6 @@ any intention of working on it myself.
- Owen
-
--u/--add-url Option
-
- When specified, local commits are edited to append the Bug URL.
-
- attach: Before attaching them to the bug
-
- Requires: clean index and a series of bugs that leads to the
- current HEAD commit.
- Can't be the default because commits might have already been pushed
- Should be smart if the URL is already in the bug
- Might be useful to have a standalone 'add-url' subcommand that can
- be used to fix up if you forget to specify it.
-
Use XML-RPC when available.
Maybe use python-bugzilla: http://fedorahosted.org/python-bugzilla/
@@ -45,3 +31,10 @@ More general patch application
as well. For general patches, you would use information from
bugzilla to prime the author and commit message, but allow
further editing of the commit message.
+
+Make -u/--add-url kinder on the reflog
+
+ -u works by resetting, then on each patch, running git cherry-pick
+ followed by git commit --amend. It would be nice to only have one
+ (informative) reflog entry for the entire process, or at least avoid
+ the double commits.