From: Ingo Molnar <mingo@elte.hu>
To: Alok Kataria <akataria@vmware.com>
Cc: LKML <linux-kernel@vger.kernel.org>
Subject: Re: merge conflicts with tip/master
Date: Tue, 24 Jun 2008 20:08:08 +0200 [thread overview]
Message-ID: <20080624180808.GA14994@elte.hu> (raw)
In-Reply-To: <1214327937.27577.6.camel@promb-2n-dhcp368.eng.vmware.com>
* Alok Kataria <akataria@vmware.com> wrote:
> Hi Ingo,
>
> While working with tip/master...after following the steps in the readme
> @ http://people.redhat.com/mingo/tip.git/readme.txt
>
> I usually do any changes and manage them using "quilt". Once the
> changes are pushed upstream, i do a "quilt pop" and generally try a
> "git pull" to check for any new changes, along with the change that
> was just pushed.
>
> This method works fine for me with Linus's tree. But with tip/master i
> usually get "merge conflicts"
>
> Am i doing something wrong over here...am i supposed to not use git
> pull for updating the local tip/master copy ?
i dont think this is due to Quilt interaction, but possibly due to the
fact that you should update the remote branches via "git remote update".
another possibility is that Quilt touches a file and can change its
timestamp - so Git thinks it's modified. You'll get something like:
$ git-checkout tip-latest
M kernel/sched.c
Already on branch "tip-latest"
the "M" shows that the file has been modified.
If you are absolutely sure you have a non-modified repository (sans
timestamps), you can force a checkout via:
git-checkout -f tip-latest
the '-f' will force a checkout and any local changes will be
overwritten.
finally, if tip/master has been updated, you can 'jump' to it without
doing a pull, via:
git-checkout tip-latest
git-reset --hard tip/master
NOTE: this too is destructive to any local Git state and should be used
with care.
Ingo
next prev parent reply other threads:[~2008-06-24 18:08 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-24 17:18 Alok Kataria
2008-06-24 18:08 ` Ingo Molnar [this message]
2008-06-24 18:38 ` Bernhard Walle
2008-06-24 18:51 ` Alok Kataria
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=20080624180808.GA14994@elte.hu \
--to=mingo@elte.hu \
--cc=akataria@vmware.com \
--cc=linux-kernel@vger.kernel.org \
/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
all inboxes | Powered by JetHome®