From: "Kristoffer Haugsbakk" <kristofferhaugsbakk@fastmail.com>
To: Alireza <rezaxm@gmail.com>, git@vger.kernel.org
Subject: Re: Request for adding a "one-shot" rebase strategy where conflicts are only resolved once
Date: Thu, 03 Oct 2024 22:15:21 +0200 [thread overview]
Message-ID: <f2ae51a2-95e9-43d4-beba-774d05bfc3e9@app.fastmail.com> (raw)
In-Reply-To: <CAD9n_qgBPDQKF=ZEQ6SWvDCmcUXZvz33zSoHFQSwHmQPWS4z_Q@mail.gmail.com>
On Thu, Oct 3, 2024, at 21:06, Alireza wrote:
> Sometimes a clean merge is possible but with a rebase, in-between
> commits may raise conflicts in which case a conflict must be resolved
> for each commit individually, which is not quite productive and at the
> end wouldn't add so much in how the resulting history looks like.
>
> With a "one-shot" rebase, a conflict (if any) is made based on the
> latest revision, then in-between commits approximated based on that
> resolution. This way the history can be roughly preserved with the
> same amount of effort while still using a rebase rather than merge.
How would this compare to using git-rerere(1)?
--
Kristoffer Haugsbakk
next prev parent reply other threads:[~2024-10-03 20:15 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-03 19:06 Request for adding a "one-shot" rebase strategy where conflicts are only resolved once Alireza
2024-10-03 20:15 ` Kristoffer Haugsbakk [this message]
2024-10-03 21:10 ` Alireza
2024-10-03 21:30 ` Jeff King
2024-10-03 21:30 ` brian m. carlson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=f2ae51a2-95e9-43d4-beba-774d05bfc3e9@app.fastmail.com \
--to=kristofferhaugsbakk@fastmail.com \
--cc=git@vger.kernel.org \
--cc=rezaxm@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox