#472873 git-cvsimport does not work with bare repositories

#472873#5
Date:
2008-03-26 23:32:36 UTC
From:
To:
git-cvsimport should respect the --bare option when doing an initial import
to a new repository and it should detect if a repository is bare when doing
an update. Currently, when run with the -C option pointing to a bare
repository, git-cvsimport creates a new gitdir under the old repository,
like this:

Initialized empty Git repository in <...>/bare.git/.git/

Teemu

#472873#8
Date:
2009-11-08 17:11:44 UTC
From:
To:
Try using GIT_DIR=. to use an existing bare repository. It worked for
me, but I was not using the -C option.

#472873#13
Date:
2010-03-06 22:01:57 UTC
From:
To:
tags 472873 + upstream
severity 472873 wishlist
thanks

Hi,

Teemu Ikonen wrote:

Thanks for the report.  Here’s a hint to a patch.  Details left to the
reader. ;-)