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

Re: cg-init bug

From
ZBZack Brown <zbrown@tumblerings.org>
Date
Jun 5, 2005, 16:27 UTC
Message-ID
<20050605162739.GB15291@tumblerings.org>
In-Reply-To
<42A323F4.2010109@gorzow.mm.pl>
On Sun, Jun 05, 2005 at 06:10:28PM +0200, Radoslaw Szkodzinski wrote:
Show 12 quoted lines
> Zack Brown wrote:
> 
> >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'.
> >  
> >
> I think an ls -l of the repo would be useful... if it's not that big.

It's over 2000 lines, I'm not sure if that's considered big. But it's just regular files and directories with regular-length names. Here's a sample:

----------------------------------------------------------------------------- ... ./kde/trans/german: total 76 -rw-rw-r-- 1 zbrown zbrown 230 Jan 19 2003 Makefile -rw-rw-r-- 1 zbrown zbrown 20 Jan 19 2003 Makefile.encoding -rw-rw-r-- 1 zbrown zbrown 15712 Jan 19 2003 kde20020522_37.xml -rw-rw-r-- 1 zbrown zbrown 15669 Jan 19 2003 kde20020522_37.xml.old -rw-rw-r-- 1 zbrown zbrown 12941 Jan 19 2003 kde20020605_38.xml -rw-rw-r-- 1 zbrown zbrown 464 Nov 16 2003 latest.txt -rw-rw-r-- 1 zbrown zbrown 32 Jan 19 2003 latest.xml drwxrwxr-x 2 zbrown zbrown 4096 Nov 16 2003 quotes/ drwxrwxr-x 2 zbrown zbrown 4096 Nov 16 2003 raw/ drwxrwxr-x 2 zbrown zbrown 4096 Nov 16 2003 topics/

./kde/trans/german/quotes: total 0

./kde/trans/german/raw: total 0

./kde/trans/german/topics: total 0

./kde/trans/spanish: total 140 -rw-rw-r-- 1 zbrown zbrown 230 Jan 19 2003 Makefile -rw-rw-r-- 1 zbrown zbrown 20 Jan 19 2003 Makefile.encoding -rw-rw-r-- 1 zbrown zbrown 198 Jan 19 2003 index.xml.bak -rw-rw-r-- 1 zbrown zbrown 24211 Jan 19 2003 kde20020118_31.xml -rw-rw-r-- 1 zbrown zbrown 12061 Jan 19 2003 kde20020215_32.xml -rw-rw-r-- 1 zbrown zbrown 12748 Jan 19 2003 kde20020222_33.xml -rw-rw-r-- 1 zbrown zbrown 12468 Jan 19 2003 kde20020605_38.xml -rw-rw-r-- 1 zbrown zbrown 18517 Jan 19 2003 kde20020619_39.xml -rw-rw-r-- 1 zbrown zbrown 17001 Jan 19 2003 kde20020710_40.xml -rw-rw-r-- 1 zbrown zbrown 464 Nov 16 2003 latest.txt -rw-rw-r-- 1 zbrown zbrown 32 Jan 19 2003 latest.xml drwxrwxr-x 2 zbrown zbrown 4096 Nov 16 2003 quotes/ drwxrwxr-x 2 zbrown zbrown 4096 Nov 16 2003 raw/ drwxrwxr-x 2 zbrown zbrown 4096 Nov 16 2003 topics/

./kde/trans/spanish/quotes: total 0 ... -----------------------------------------------------------------------------

> If it is, you may have hit the limitation of the length of command line.
> If it's so, repeat the commands.

I did that when I first saw the problem, and although it did seem to add a few dozen files at a time, eventually it refused to add any more files, even though cg-status reported many files still as '?'.

> 
> However, if I'd want to add everything to the repo, I'd do:
> cg-status | sed "s/? //" | xargs cg-add

But shouldn't cg-init take care of that for me automatically when I create the repo?

Be well, Zack

> 
> AstralStorm
-- 
Zack Brown
Previous: Radoslaw SzkodzinskiNext: Radoslaw Szkodzinski
Message 3 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.