git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [BUG] pull faulty 'not uptodate'
@ 2008-08-20 21:00 Pieter de Bie
  2008-08-20 21:22 ` Junio C Hamano
  0 siblings, 1 reply; 7+ messages in thread
From: Pieter de Bie @ 2008-08-20 21:00 UTC (permalink / raw)
  To: Git Mailinglist

Hi,

I think git pull does not refresh the index before trying to merge:

Tirana:gitbot pieter$ git reset --hard 5ff4dff
HEAD is now at 5ff4dff Add a Git FAQ plugin
Tirana:gitbot pieter$ touch test/gitfaq.rb
Tirana:gitbot pieter$ git pull
Updating 5ff4dff..931a247
error: Entry 'test/gitfaq.rb' not uptodate. Cannot merge.
Tirana:gitbot pieter$ git st
# On branch master
# Your branch is behind 'origin/master' by 2 commits, and can be fast- 
forwarded.
#
# Untracked files:
#   (use "git add <file>..." to include in what will be committed)
#
#	GitLink.py
#	faq.yaml
#	test.py
nothing added to commit but untracked files present (use "git add" to  
track)
Tirana:gitbot pieter$ git pull
Updating 5ff4dff..931a247
Fast forward
  plugins/gitfaq.rb  |   46 ++++++++++++++++++++++--------------------
  plugins/irc.rb     |   56 +++++++++++++++++++++++++ 
+-------------------------
  test/faq-test.html |   10 +++++++++
  test/gitfaq.rb     |   42 +++++++++++++++++++-------------------
  4 files changed, 84 insertions(+), 70 deletions(-)
  create mode 100644 test/faq-test.html

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

end of thread, other threads:[~2008-08-20 22:36 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-20 21:00 [BUG] pull faulty 'not uptodate' Pieter de Bie
2008-08-20 21:22 ` Junio C Hamano
2008-08-20 21:29   ` [bug] " Pieter de Bie
2008-08-20 21:50     ` Junio C Hamano
2008-08-20 21:50     ` Junio C Hamano
2008-08-20 22:09     ` "git-merge": allow fast-forwarding in a stat-dirty tree Junio C Hamano
2008-08-20 22:35       ` Miklos Vajna

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