git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* 'git pull' fails with 'not uptodate' message despite 'git reset --hard'
@ 2009-07-28 23:08 Jody McIntyre
  2009-07-29  0:19 ` Avery Pennarun
  0 siblings, 1 reply; 6+ messages in thread
From: Jody McIntyre @ 2009-07-28 23:08 UTC (permalink / raw)
  To: git

I am attempting to update my kernel tree but getting a 'not uptodate' error:

$ git fetch origin
[...]
$ git pull origin tags/v2.6.31-rc4
From git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6
 * tag               v2.6.31-rc4 -> FETCH_HEAD
Updating 6847e15..4be3bd7
error: Entry 'CREDITS' not uptodate. Cannot merge.

'git diff' shows no changes, and neither 'git reset --hard' nor
'git checkout -f HEAD' fix the issue.  Simple 'git pull' doesn't work either:

$ git diff CREDITS
$ git reset --hard
Checking out files: 100% (27891/27891), done.
HEAD is now at 6847e15 Linux 2.6.31-rc3
$ git pull origin tags/v2.6.31-rc4
From git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6
 * tag               v2.6.31-rc4 -> FETCH_HEAD
Updating 6847e15..4be3bd7
error: Entry 'CREDITS' not uptodate. Cannot merge.
$ git checkout -f HEAD
Checking out files: 100% (29096/29096), done.
Your branch is behind 'origin/master' by 484 commits, and can be fast-forwarded.
$ git pull origin tags/v2.6.31-rc4
From git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6
 * tag               v2.6.31-rc4 -> FETCH_HEAD
Updating 6847e15..4be3bd7
error: Entry 'CREDITS' not uptodate. Cannot merge.
$ git pull
Updating 6847e15..7d3e91b
error: Entry 'CREDITS' not uptodate. Cannot merge.

I use quilt with this tree but no quilt patches are currently applied and it
should be clean.  It hasn't even been built (I rsync to another machine for
that.)

According to the documentation, I believe what I'm doing should work - even if
my tree was unclean, 'git checkout -f HEAD' or 'git reset --hard' would fix it.
What am I doing wrong?

Thanks,
Jody

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2009-07-30 15:41 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-28 23:08 'git pull' fails with 'not uptodate' message despite 'git reset --hard' Jody McIntyre
2009-07-29  0:19 ` Avery Pennarun
2009-07-29 20:36   ` Jody McIntyre
2009-07-29 20:44     ` Avery Pennarun
2009-07-29 22:54       ` Jody McIntyre
2009-07-30 15:40     ` Jody McIntyre

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).