On Mon, 1 Oct 2007 18:30:50 -0400, "Shawn O. Pearce" wrote:Ah, "pull.twohead". I don't think I ever would have guessed that. (And I was just about to ask if there was a nice place to find all these options, but then found it myself on my first guess with "man git-config". Thanks everyone for writing that!). Sure. Rebase alone isn't useful as a complete merge strategy. But a rebase strategy that simply fails in the face of a conflict, (deferring to a subsequent merge strategy), could be very useful. Yes, I thought I recalled seeing a rebase strategy go by in the past, but I had never gotten around to trying it out. I'll try to do better on this try. Yes, this sounds exactly like what I want. So, I put "rebase recursive" in place as the value for the pull.twohead configuration? An then make sure that the rebase strategy aborts as "failed" instead of "conflicted and left for user to resolve"? I saw Junio talking about return values up above in the thread but didn't pay attention to details, (2 vs. 1 or something)? Has anyone tried this rebase then recursive strategy yet? I'm definitely interested in trying it out, as I think I'd find it quite nice as a default for pull in my usage. Though actually I'd like it even more if there was some way to mark a commit as having been "published" and the rebase strategy would refuse to rebase published commits. Maybe that's a per-branch "last-published" reference? I think I'd even like git-push to update the last-published reference for each pushed branch by default, but then perhaps have an option to mark a particular remote so that pushing to that remote doesn't count as publishing. -Carl
| David Miller | Re: Slow DOWN, please!!! |
| debian developer | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
| Roland Dreier | Re: Integration of SCST in the mainstream Linux kernel |
| Ingo Molnar | Re: containers (was Re: -mm merge plans for 2.6.23) |
git: | |
| Jarek Poplawski | [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| Josip Rodin | bnx2_poll panicking kernel |
| David Miller | [GIT]: Networking |
| Gerrit Renker | [PATCH 13/37] dccp: Deprecate Ack Ratio sysctl |
