{"thread":{"id":"6115","subject":"git-cvsimport and git-checkout problem","startedAt":"2006-12-26T14:13:55Z","lastAt":"2006-12-26T14:13:55Z","messageCount":1,"participants":["Hannu Koivisto"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"30301","messageId":"87fyb2wxr0.fsf@trews52.bothi.fi","threadId":"6115","inReplyTo":null,"subject":"git-cvsimport and git-checkout problem","fromName":"Hannu Koivisto","fromEmail":"azure@iki.fi","sentAt":"2006-12-26T14:13:55Z","receivedAt":"2006-12-26T14:13:55Z","isPatch":false,"sender":{"key":"azure@iki.fi","avatar":null},"body":"Greetings,\n\nI'm learning git and decided to try importing a small CVS module\ninto a git repository (before attempting a really big one).\nExistence of -i in git-cvsimport would seem to imply that it\ncheckouts by default but it didn't seem to do that.  That is, I did\n\"git-cvsimport -d ~/.cvs_root -C module module\" and I got a\n\"module\" directory that contains \".git\" directory but nothing else.\nAnd saying \"git checkout master\" in \"module\" doesn't seem to do\nanything.\n\nFinally I realized to try \"git-checkout -f master\" and that\nworked.  By reading git-checkout(1) I just cannot see why -f was\nneeded in this case or even what it generally does (\"re-read of\neverything\" -- um, what everything and why would you explicitly\nwant to re-read that everything?).\n\nI'm using git 1.4.4.3 and cvsps 2.1 (from a git repository\nrecommended by some web page) on Debian GNU/Linux.\n\n-- \nHannu\n"}]}