summaryrefslogtreecommitdiffstats
path: root/TODO
diff options
context:
space:
mode:
authorOwen W. Taylor <otaylor@fishsoup.net>2009-09-05 11:30:10 -0400
committerOwen W. Taylor <otaylor@fishsoup.net>2009-09-05 11:37:12 -0400
commit71dc277bfcd7b98b1f71d46da59f5cd2da3e3974 (patch)
tree2a23c9d36b4db6c49f8a803b01d12a1028fb6e14 /TODO
parent8d338f0ea9667698fcd975bf52fb9633971699da (diff)
downloadgit-bz-71dc277bfcd7b98b1f71d46da59f5cd2da3e3974.tar.gz
Make 'git bz add-url' more like git rebase
Instead of resetting the branch and applying the patches there, move to a detached HEAD, apply patches to the detached HEAD and then make a single update to the branch ref. The only real advantage of this is that 'git reflog show <branchname>' shows a single meaningful commit.
Diffstat (limited to 'TODO')
-rw-r--r--TODO13
1 files changed, 3 insertions, 10 deletions
diff --git a/TODO b/TODO
index 666a84c..5a2f609 100644
--- a/TODO
+++ b/TODO
@@ -70,19 +70,12 @@ Pass --3way to git-am
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.
+ -u works each patch, running git cherry-pick followed by
+ git commit --amend. It would be nice to only avoid the double
+ commits.
The double commits could be avoided if if we did the 'rewrite patch'
thing for 'git bz apply'- then we could use it here too and just
pass the whole sequence to 'git am'. And by setting
GIT_REFLOG_ACTION='bz add-url' it should work almost perfectly.
- It wouldn't give a single reflog entry, but 'git rebase' and
- 'git am' don't show up as a single entry either. 'git rebase'
- does show up as a single entry in 'git reflog show master'; that's
- done by detaching from the branch during the operation. We could
- do that as well.
-