All of lore.kernel.org
 help / color / mirror / Atom feed
From: adr3nald0s@gmail.com
To: Johannes Sixt <johannes.sixt@telecom.at>
Cc: adr3nald0s@gmail.com, git@vger.kernel.org
Subject: Re: Anomalous conflicts during git rebase
Date: Fri, 28 Dec 2007 09:35:34 -0600	[thread overview]
Message-ID: <m3odca7ry1.fsf@euroclydon.lan> (raw)
In-Reply-To: <20071227225703.B33A25A709@dx.sixt.local> (Johannes Sixt's message of "Thu\, 27 Dec 2007 23\:57\:03 +0100")

Johannes Sixt <johannes.sixt@telecom.at> writes:

> adr3nald0s@gmail.com wrote:
>> On a clone of linux-2.6:
>> 
>>     git checkout -b topic/test v2.6.15
>>     touch drivers/a-file.c
>>     git add drivers/a-file.c
>>     git commit -m 'Add a file'
>>     git checkout -b temp0 v2.6.16
>>     git rebase topic/test
>> 
>> I get the following:
>> 
>>     Applying [ACPI] handle ACPICA 20050916's acpi_resource.type rename
> ..
>>     CONFLICT (content): Merge conflict in drivers/char/hpet.c
> ..
>> Is this a bug, or is there a reason I am seeing conflicts in files
>> I've never touched?
>

I am not picking on you, Johannes, but I was expecting a response like
this:

> You are using the rebase the wrong way round.

I am very well aware of how rebase is intended to be used.  The
components of git are not always used for their semantic purpose.  As
recommended frequently on this list, it is common to bend them to your
purpose and use them in non-intuitive ways.

The purpose of the commands above is to have a git repository from
2.6.15 forward that has our code, XEN and some cherry-pick'd
back-ported fixes integrated throughout.  We will be doing a lot of
git-bisect'ing to find where various things changed that break our
code and certain edge-case usages of XEN.

So my question stands and it is not, "Adr3nalD0S, why _would_ you do
this?"  It is, "Why does git report conflicts that do not exist?"

P.S.  This isn't the first project I have run into this on.  It's just
the first one where I decided to try and do something about it.

  reply	other threads:[~2007-12-28 15:31 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-27 22:42 Anomalous conflicts during git rebase adr3nald0s
2007-12-27 22:57 ` Johannes Sixt
2007-12-28 15:35   ` adr3nald0s [this message]
2007-12-27 23:45 ` Daniel Barkalow
2007-12-28 15:54   ` adr3nald0s
2007-12-28 17:58     ` Daniel Barkalow
2007-12-28 18:33       ` adr3nald0s
2007-12-28 18:54         ` Björn Steinbrink

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=m3odca7ry1.fsf@euroclydon.lan \
    --to=adr3nald0s@gmail.com \
    --cc=git@vger.kernel.org \
    --cc=johannes.sixt@telecom.at \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.