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

Re: cg-init bug -- identified

From
ZBZack Brown <zbrown@tumblerings.org>
Date
Jun 5, 2005, 18:29 UTC
Message-ID
<20050605182912.GC6890@tumblerings.org>
In-Reply-To
<20050605181042.GH17462@pasky.ji.cz>
On Sun, Jun 05, 2005 at 08:10:42PM +0200, Petr Baudis wrote:
Show 10 quoted lines
> Dear diary, on Sun, Jun 05, 2005 at 07:56:34PM CEST, I got a letter
> where Zack Brown <zbrown@tumblerings.org> told me that...
> > Depending on how I check, I get very different lists. I'll include both in this email.
> > 
> > If I do the 'cg-init' on the full source.cogito directory, then do a 'cg-clone'
> > into a new source.cogtst directory, here is the result of a comparison:
> 
> Hmm. That's very strange, I can't see what could be the problem. If you
> try cg-init multiple times, do you always get the same list of files
> missed out? Can you spot any error messages while doing cg-init?
I figured it out.
I made a temporary copy of the directory, and kept doing

$ rm -rf .git $ rm somerandomfileordir $ cg-init $ cg-status

It turned out one of my files had a "'" in the name, i.e.:

$ ls Zack's_file $

I removed it, and all of a sudden cg-init worked perfectly.

Is that a Cogito bug? I would expect git to handle any filename the filesystem itself can handle.

Be well, Zack

Show 9 quoted lines
> 
> -- 
> 				Petr "Pasky" Baudis
> Stuff: http://pasky.or.cz/
> C++: an octopus made by nailing extra legs onto a dog. -- Steve Taylor
> -
> To unsubscribe from this list: send the line "unsubscribe git" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
-- 
Zack Brown
Previous: Petr BaudisNext: Tommy M. McGuire
Message 8 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.