From: Johannes Schindelin <Johannes.Schindelin@gmx.de>
To: "Jakub Narebski" <jnareb@gmail.com>, らいしななこ <nanako3@bluebottle.com>
Cc: Junio C Hamano <gitster@pobox.com>,
Sverre Rabbelier <srabbelier@gmail.com>,
git@vger.kernel.org
Subject: Re: Heads up: major rebase -i -p rework coming up
Date: Mon, 26 Jan 2009 00:29:43 +0100 (CET) [thread overview]
Message-ID: <alpine.DEB.1.00.0901260026310.14855@racer> (raw)
In-Reply-To: <200901252303.29204.jnareb@gmail.com>
Hi,
On Sun, 25 Jan 2009, Jakub Narebski wrote:
> On Sun, 25 Jan 2009, Junio C Hamano wrote:
> > Johannes Schindelin <Johannes.Schindelin@gmx.de> writes:
> >
> > > So maybe I answered my question myself:
> > >
> > > merge parents $sha1 [$sha1...] original $sha1 $msg
> >
> > When you are reparenting, how would original commit get in the
> > picture? You wouldn't want the resulting merge to claim it merged X
> > (which would be what's in original's commit log) when in fact it now
> > merged Y because the user reparented it, would you?
>
> Well, the subject part of merge (with merged branches names) shouldn't,
> I guess, change. The summary (shortlog) part might, or perhaps even
> should following rewrite (if it was present here).
>
> But there is one issue I am wondering about: could we pick up _merge_
> _resolution_? So if you have evil merge, and the change is for example
> splitting commits without visible final changes, or just changing some
> commit message before merge, it would get recreated without problems?
Nanako had a script at some stage; I would prefer an subcommand to "git
rerere" which reconstructs the whole merge in-memory, and then records the
conflict's resolution.
However, I really think you are getting ahead of yourself. That is by no
means something we want to have in rebase -p. And even then, it would
have to be non-automatic, i.e the user has to check the resolution.
We _know_ that git rerere does a fine job most of the time, almost all of
the exceptions to be found when working with rebase -i extensively, as you
are prone to take different decisions during development.
Ciao,
Dscho
next prev parent reply other threads:[~2009-01-25 23:30 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-24 20:25 Heads up: major rebase -i -p rework coming up Johannes Schindelin
2009-01-24 20:37 ` Junio C Hamano
2009-01-24 21:04 ` Johannes Schindelin
2009-01-24 21:09 ` Johannes Schindelin
2009-01-24 23:01 ` Junio C Hamano
2009-01-25 2:23 ` Johannes Schindelin
2009-01-26 16:21 ` Marc Branchaud
2009-01-24 22:47 ` Thomas Rast
2009-01-25 2:05 ` Johannes Schindelin
2009-01-25 2:25 ` Johannes Schindelin
2009-01-25 13:46 ` Jakub Narebski
2009-01-25 14:17 ` Johannes Schindelin
2009-01-25 15:07 ` Sverre Rabbelier
2009-01-25 15:24 ` Johannes Schindelin
2009-01-25 20:35 ` Junio C Hamano
2009-01-25 20:59 ` Johannes Schindelin
2009-01-25 22:03 ` Jakub Narebski
2009-01-25 23:29 ` Johannes Schindelin [this message]
2009-02-03 10:05 ` Nanako Shiraishi
2009-02-03 11:47 ` Johannes Schindelin
2009-01-25 16:22 ` Jakub Narebski
2009-01-25 17:18 ` Björn Steinbrink
2009-01-26 16:10 ` Marc Branchaud
2009-01-27 15:21 ` Stephen Haberman
2009-01-27 18:08 ` Johannes Schindelin
2009-01-27 22:10 ` Nanako Shiraishi
2009-01-27 22:36 ` Stephen Haberman
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=alpine.DEB.1.00.0901260026310.14855@racer \
--to=johannes.schindelin@gmx.de \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
--cc=jnareb@gmail.com \
--cc=nanako3@bluebottle.com \
--cc=srabbelier@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