Git development
 help / color / mirror / Atom feed
From: Hannu Koivisto <azure@iki.fi>
To: git@vger.kernel.org
Subject: git-cvsimport and git-checkout problem
Date: Tue, 26 Dec 2006 16:13:55 +0200	[thread overview]
Message-ID: <87fyb2wxr0.fsf@trews52.bothi.fi> (raw)

Greetings,

I'm learning git and decided to try importing a small CVS module
into a git repository (before attempting a really big one).
Existence of -i in git-cvsimport would seem to imply that it
checkouts by default but it didn't seem to do that.  That is, I did
"git-cvsimport -d ~/.cvs_root -C module module" and I got a
"module" directory that contains ".git" directory but nothing else.
And saying "git checkout master" in "module" doesn't seem to do
anything.

Finally I realized to try "git-checkout -f master" and that
worked.  By reading git-checkout(1) I just cannot see why -f was
needed in this case or even what it generally does ("re-read of
everything" -- um, what everything and why would you explicitly
want to re-read that everything?).

I'm using git 1.4.4.3 and cvsps 2.1 (from a git repository
recommended by some web page) on Debian GNU/Linux.

-- 
Hannu

                 reply	other threads:[~2006-12-26 14:30 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=87fyb2wxr0.fsf@trews52.bothi.fi \
    --to=azure@iki.fi \
    --cc=git@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox