On 2007.10.30 22:05:27 -0700, Junio C Hamano wrote:Hm, that would be git-send-email then, anything I need to configure? (Actually I don't see it marking the message as anything) Given this situation: Which results in: When you do "git-rebase -p -i master topicA" You can now also get: When you do "git-rebase -p -i --first-parent master topicA" That's better, right? :-/ The original use-case for the "-p -i --first-parent" case was a question on #git, where someone had sth. like this: o---o---o---o---o remote/branch \ \ o---o---o---o---o topicA / o---o---o master trunk Now that guy was using git-svn to dcommit into svn from master. To dcommit the changes from topicA he had to have that based on master, and he wanted to preserve the merges from remote/branch to have them squashed when dcommitted to svn. So what he wanted was: ...---o---o---o---o---o remote/branch \ \ o---o---o---o---o topicA / o---o---o master trunk The default behaviour of rebase would totally flat out the history and instead of two sqaush merges (which he wanted), svn would've seen a huge amount of commits comning from remote/branch. And the plain -p behaviour would have duplicated all those branches from remote/branch for no good reason, so I came up with that --first-parent thing. Better ideas are welcome, I just don't know git well enough to come up with anything better... Thanks, Björn - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
| Andrea Arcangeli | [PATCH 00 of 12] mmu notifier #v13 |
| Eric W. Biederman | Remaining straight forward kthread API conversions... |
| Eric Paris | Re: [malware-list] [RFC 0/5] [TALPA] Intro to a linux interface for on access scan... |
| Trond Myklebust | Re: Announce: Linux-next (Or Andrew's dream :-)) |
git: | |
| Gerrit Renker | [PATCH 0/37] dccp: Feature negotiation - last call for comments |
| David Miller | [GIT]: Networking |
| Herbert Xu | Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| Alexey Dobriyan | [PATCH 04/33] Fix {ip,6}_route_me_harder() in netns |
