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

cg-init bug

From
ZBZack Brown <zbrown@tumblerings.org>
Date
Jun 5, 2005, 15:30 UTC
Message-ID
<20050605153053.GA6890@tumblerings.org>
Hi,

I've been tracking Cogito. This problem occurred with Cogito version 1e2673d606dd39dc44b4eed2204ba349a448bc4d

I have a directory tree with several layers of subdirectories and about 1700 files. I tried to convert it to a git repository with 'cg-init'.

The first thing I noticed was that not all the files and subdirectories had been added. Doing a cg-status listed many files with '?' in front of them.

I tried adding these files with "cg-add */*", "cg-add */*/*" etc, followed by "cg-commit", and this seemed at first glance to work. I was able to reduce the number of files reported by "cg-status". But eventually "cg-add" would say there were no files left to add, while "cg-status" would still list many files unadded. It seemed that "cg-add" would only selectively add files.

At that point I blew away the .git directory and gave up on repo-izing that project for now.

I can reproduce this problem easily. Please let me know if you need any more information.

Be well, Zack

-- 
Zack Brown
Next: Radoslaw Szkodzinski
Message 1 of 15 in “cg-init bug”
  1. Zack BrownJun 5, 2005
  2. Radoslaw SzkodzinskiJun 5, 2005
  3. Zack BrownJun 5, 2005
  4. Radoslaw SzkodzinskiJun 5, 2005
  5. Petr BaudisJun 5, 2005
  6. Zack BrownJun 5, 2005
  7. Petr BaudisJun 5, 2005
  8. Zack BrownJun 5, 2005
  9. Tommy M. McGuireJun 5, 2005
  10. Tommy M. McGuireJun 5, 2005
  11. Re: cg-init bug -- identifiedTommy M. McGuire, Jun 5, 2005
  12. Make cg-add use xargs -0Dan Holmsand, Jun 5, 2005
  13. Petr BaudisJun 5, 2005
  14. Zack BrownJun 5, 2005
  15. Junio C HamanoJun 5, 2005

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.