git/list[1] front-page[2] threads[3] people[4] search[5] about
 

git-cvsserver: Index already exists in git repo

From
Mirko Stocker <mirko.stocker@hsr.ch>
Date
Jun 17, 2008, 12:09 UTC
Message-ID
<200806171409.25572.mirko.stocker@hsr.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
Message 1 of 1 in “git-cvsserver: Index already exists in git repo”
  1. Mirko StockerJun 17, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.