# git-cvsserver: Index already exists in git repo

1 messages from 2008-06-17 to 2008-06-17. Participants: Mirko Stocker.
Thread: https://gitlist.dev/t/14002

## Mirko Stocker, 2008-06-17 12:09

Subject: git-cvsserver: Index already exists in git repo
Message-ID: <200806171409.25572.mirko.stocker@hsr.ch>
URL: https://gitlist.dev/e/200806171409.25572.mirko.stocker%40hsr.ch

```
Hi

I'm using git-cvsimport (with -i) to import an existing repository, which I 
then clone for development. Now, we have some guys here that'd rather 
continue to use the Eclipse CVS plug-in than working directly with Git, so I 
thought I could tell them to try git-cvsserver.

Now, git-cvsserver complains about an existing index file in the server 
repository. If I just remove the index file on the server, everything seems 
to work just fine. But 'rm .git/index'  just doesn't feel right... what I 
understand so far: the index file seems to contain information about the 
files in the tree, but it doesn't exist in a bare repository. So, is there a 
way to 'convert' a repository to a bare repository so that git-cvsimport and 
git-cvsserver still work on it? Or, how would you do it?

Thanks!

Mirko

-- 
Mirko Stocker
Institut für Software - http://ifs.hsr.ch - +41 55 222 4713
HSR Hochschule für Technik Rapperswil
Oberseestr 10, Postfach 1475, CH-8640 Rapperswil

```
