From: Martin von Zweigbergk <martin.von.zweigbergk@gmail.com>
To: Jon Seymour <jon.seymour@gmail.com>
Cc: Johannes Sixt <j.sixt@viscovery.net>,
Phil Hord <phil.hord@gmail.com>,
J Robert Ray <jrobertray@gmail.com>,
Thomas Rast <trast@student.ethz.ch>,
"git@vger.kernel.org" <git@vger.kernel.org>
Subject: Re: rebase -p loses amended changes
Date: Thu, 5 Apr 2012 09:43:34 -0700 [thread overview]
Message-ID: <CAOeW2eHJYiHswmzJeMnce5cpcA7zFi7kiH9CsZdNcHB7G+CtUA@mail.gmail.com> (raw)
In-Reply-To: <CAH3AnrrYVNDN4cY7EmFsFyjC50wifuoPj1jSLPTxsSUy5+4aiQ@mail.gmail.com>
On Thu, Apr 5, 2012 at 9:33 AM, Jon Seymour <jon.seymour@gmail.com> wrote:
>>
>> With this history
>>
>> .-e-.
>> / \
>> .-c---d---f
>> /
>> a---b---g
>>
>> , "git rebase -p --onto g b f" produces
>>
>>
>> .-e'.
>> / \
>> a---b---g---c'--d'--f'
>>
>
> Perhaps there is a a formatting issue here, but wouldn't the resulting
> history be, instead:
>
> . -e'.
> / \
> a---b---g---c'--d'--f'
That's how it looked before I pasted it into gmail. Sorry about that
and thanks for clarifying.
> I don't really understand why e' - c' would be different to e-c?
Not "would", but "could", if you're using -i as well and choose the
"edit" action for commit e (or if merge conflict makes it halt while
creating e').
next prev parent reply other threads:[~2012-04-05 16:43 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <592E2EEC-6CBA-48D6-8D44-34A971DD78EC@gmail.com>
2012-03-31 5:55 ` rebase -p loses amended changes Jon Seymour
2012-03-31 9:35 ` Thomas Rast
2012-03-31 9:39 ` Jon Seymour
2012-04-03 18:55 ` J Robert Ray
2012-04-03 21:43 ` Jon Seymour
2012-04-03 22:02 ` Junio C Hamano
2012-04-03 22:09 ` Phil Hord
2012-04-04 6:30 ` Johannes Sixt
2012-04-04 17:11 ` Junio C Hamano
2012-04-04 20:26 ` Junio C Hamano
2012-04-04 22:55 ` Jon Seymour
2012-04-04 22:59 ` Junio C Hamano
2012-04-04 23:05 ` Jon Seymour
2012-04-04 23:20 ` Junio C Hamano
2012-04-05 16:16 ` Martin von Zweigbergk
2012-04-05 16:33 ` Jon Seymour
2012-04-05 16:43 ` Martin von Zweigbergk [this message]
2012-04-10 7:14 ` Johannes Sixt
2012-03-30 21:31 J Robert Ray
2012-03-30 22:49 ` Thomas Rast
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=CAOeW2eHJYiHswmzJeMnce5cpcA7zFi7kiH9CsZdNcHB7G+CtUA@mail.gmail.com \
--to=martin.von.zweigbergk@gmail.com \
--cc=git@vger.kernel.org \
--cc=j.sixt@viscovery.net \
--cc=jon.seymour@gmail.com \
--cc=jrobertray@gmail.com \
--cc=phil.hord@gmail.com \
--cc=trast@student.ethz.ch \
/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;
as well as URLs for NNTP newsgroup(s).