From: Tony Luck <tony.luck@gmail.com>
To: "tony.luck@intel.com" <tony.luck@intel.com>
Cc: git@vger.kernel.org
Subject: Re: baffled again
Date: Tue, 23 Aug 2005 22:33:33 -0700 [thread overview]
Message-ID: <12c511ca050823223333c41857@mail.gmail.com> (raw)
In-Reply-To: <200508232256.j7NMuR1q027892@agluck-lia64.sc.intel.com>
I'm at home, and too lazy to log in to work to look at my tree. But I
have a theory
as to what went wrong for me.
At the start I had a file, same contents in test and release branch.
I applied a patch to release, and pulled to test. So the contents are still
the same, both with the patch applied.
Next, I was given a better patch (the first one just masked the real problem
and happened to make the symptoms go away). This patch touches a
completely different file. So I applied a patch to revert the change
in release,
and the new patch.
Now ... when I try to merge release into test, my guess is that GIT is
looking at the common ancestor before I touched anything. So when
it compares the current state of this file it sees that I have the bad patch
in the test tree, and the release tree has the "original" version (which has
had the patch applied and reverted ... so the contents are back at the
original state).
So GIT decides that the test branch has had a patch, and the release
branch hasn't ... and so it merges by keeping the version in test.
Plausible?
-Tony
next prev parent reply other threads:[~2005-08-24 5:35 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-08-23 22:56 baffled again tony.luck
2005-08-24 5:33 ` Tony Luck [this message]
2005-08-24 5:58 ` Linus Torvalds
2005-08-24 7:23 ` Junio C Hamano
2005-08-24 16:09 ` Daniel Barkalow
2005-08-24 18:47 ` Linus Torvalds
2005-08-24 18:57 ` Linus Torvalds
2005-08-25 3:26 ` Junio C Hamano
2005-08-25 5:58 ` Tony Luck
2005-08-26 19:50 ` Horst von Brand
2005-08-24 19:33 ` Daniel Barkalow
-- strict thread matches above, loose matches on Subject: below --
2005-08-24 20:10 Luck, Tony
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=12c511ca050823223333c41857@mail.gmail.com \
--to=tony.luck@gmail.com \
--cc=git@vger.kernel.org \
--cc=tony.luck@intel.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;
as well as URLs for NNTP newsgroup(s).