git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* git-checkout sometimes silently fails
@ 2008-05-06 19:22 Andrew Morton
  2008-05-06 21:50 ` Alex Riesen
  0 siblings, 1 reply; 10+ messages in thread
From: Andrew Morton @ 2008-05-06 19:22 UTC (permalink / raw)
  To: git


I've had this happen before and I don't know what to do to make it stop. 
Usually sufficient fiddling will prevent it from happening.


y:/usr/src/git26> cat .git/branches/linux-next 
git+ssh://master.kernel.org/pub/scm/linux/kernel/git/sfr/linux-next.git

y:/usr/src/git26> git-checkout master
Switched to branch "master"
y:/usr/src/git26> cat kernel/*.c|sum
34439  2057
y:/usr/src/git26> git-checkout linux-next
Switched to branch "linux-next"
y:/usr/src/git26> cat kernel/*.c|sum     
34439  2057
y:/usr/src/git26> git-checkout origin 
Note: moving to "origin" which isn't a local branch
If you want to create a new branch from this checkout, you may do so
(now or later) by using -b with the checkout command again. Example:
  git checkout -b <new_branch_name>
HEAD is now at 5717922... Merge branch 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jwessel/linux-2.6-kgdb
y:/usr/src/git26> cat kernel/*.c|sum          
34439  2057


y:/usr/src/git26> git --version
git version 1.5.5.rc1

help?

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

end of thread, other threads:[~2008-05-07 15:11 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-06 19:22 git-checkout sometimes silently fails Andrew Morton
2008-05-06 21:50 ` Alex Riesen
2008-05-07  0:10   ` Andrew Morton
2008-05-07  0:19     ` Junio C Hamano
2008-05-07  0:43       ` Andrew Morton
2008-05-07 15:09       ` J. Bruce Fields
2008-05-07  0:19     ` Jeff King
2008-05-07  0:54       ` Andrew Morton
2008-05-07  1:32         ` Björn Steinbrink
2008-05-07  8:51     ` Johannes Sixt

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