From: Arvid.Brodin@xdin.com (Arvid Brodin)
To: kernelnewbies@lists.kernelnewbies.org
Subject: git pull fails on linux-next (out of memory)
Date: Tue, 17 Apr 2012 19:54:49 +0000 [thread overview]
Message-ID: <4F8DCB3A.6050102@xdin.com> (raw)
In-Reply-To: <CAC_BnSXB+-Exy_o6iNOOFw-CtuKeh1RvksCxcvBuKM5WW7+CYw@mail.gmail.com>
On 2012-03-31 08:50, Srivatsa Bhat wrote:
> Hi,
>
> On Sat, Mar 31, 2012 at 3:40 AM, Arvid Brodin <arvid.brodin@enea.com
> <mailto:arvid.brodin@enea.com>> wrote:
>
> Arvid Brodin wrote:
> > On 2012-03-06, I cloned linux-next:
> >
> > $ git clone git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
> <http://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git> linux-next-20120306
> >
> >
> > I now want to update this repository before posting patches, to make sure
> > they still apply cleanly. I first tried this on 20120328:
>
>
> Tracking linux-next is a little bit different from usual trees. In particular, since
> Stephen Rothwell
> rebases it quite frequently, you shouldn't do a git pull on linux-next.
>
> See these articles for details on how to work with linux-next:
> http://linux.f-seidel.de/linux-next/pmwiki/pmwiki.php?n=Linux-next.FAQ
> http://lists.kernelnewbies.org/pipermail/kernelnewbies/2012-February/004498.html
>
Great links, thanks!
The first time I did 'git remote update' as described in the first link things worked
fine: I could "git merge origin/master" to be up to date with origin/master (or perhaps I
did a 'git rebase origin/master, I can't quite remember).
I tried the same thing ('git remote update; git merge origin/master') today, and got lots
of CONFLICTs. So I tried to get master back and after some time ended up running 'git
reset --hard; git clean -f -d', which I believe succeeded.
At this time 'git status' says the same as it did just after the remote update above:
# On branch master
# Your branch and 'origin/master' have diverged,
# and have 569 and 3251 different commit(s) each, respectively.
Ok, so let's try a 'git rebase origin/master' instead:
$ git rebase origin/master
First, rewinding head to replay your work on top of it...
Applying: fsnotify: inline mark refcnt functions
Using index info to reconstruct a base tree...
Falling back to patching base and 3-way merge...
Auto-merging fs/notify/mark.c
CONFLICT (content): Merge conflict in fs/notify/mark.c
Auto-merging include/linux/fsnotify_backend.h
Failed to merge in the changes.
Patch failed at 0001 fsnotify: inline mark refcnt functions
When you have resolved this problem run "git rebase --continue".
If you would prefer to skip this patch, instead run "git rebase --skip".
To restore the original branch and stop rebasing run "git rebase --abort".
Huh?! I haven't touched that file! I just want to keep my linux-next tree up to date! How
hard should this be?!
/calming down/
Any ideas on what I've done wrong and how to solve it?
--
Arvid Brodin
Enea Services Stockholm AB - since February 16 a part of Xdin in the Alten Group. Soon we
will be working under the common brand name Xdin. Read more at www.xdin.com.
next prev parent reply other threads:[~2012-04-17 19:54 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-30 16:32 git pull fails on linux-next (out of memory) Arvid Brodin
2012-03-30 22:10 ` Arvid Brodin
2012-03-31 6:50 ` Srivatsa Bhat
2012-04-17 19:54 ` Arvid Brodin [this message]
2012-04-19 10:50 ` Srivatsa S. Bhat
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=4F8DCB3A.6050102@xdin.com \
--to=arvid.brodin@xdin.com \
--cc=kernelnewbies@lists.kernelnewbies.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 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.