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

git-cvsimport broken?

From
HAH. Peter Anvin <hpa@zytor.com>
Date
Mar 2, 2006, 22:47 UTC
Message-ID
<440775FB.4000300@zytor.com>

I have started consistently getting the following error trying to do a git-cvsimport into an empty directory:

+ git cvsimport -C /home/hpa/local/kernel-cvs-import -k -u -m -A 
/home/hpa/local/authors -d /home/hpa/local/cvsroot 
project/sw/kernel/linux-2.6
cp: cannot stat `/export/hpa/kernel-cvs-import/.git/refs/heads/origin': 
No such file or directory
fatal: master: not a valid SHA1
fatal: 'HEAD': No such file or directory
usage: git-read-tree (<sha> | -m [-u | -i] <sha1> [<sha2> [<sha3>]])
checkout failed: 256

After failing, the directory in question contains the output of git-init-db, including a HEAD file which contains a symbolic reference to a nonexistent branch (which makes sense, since there has been no checkins yet.)

Have other people seen this problem?
	-hpa
Next: H. Peter Anvin
Message 1 of 3 in “git-cvsimport broken?”
  1. H. Peter AnvinMar 2, 2006
  2. H. Peter AnvinMar 2, 2006
  3. Martin LanghoffMar 2, 2006

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.