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

Re: cg-clone produces "___" file and no working tree

From
Petr Baudis <pasky@suse.cz>
Date
Apr 19, 2006, 14:48 UTC
Message-ID
<20060419144827.GX27631@pasky.or.cz>
In-Reply-To
<20060419142131.GD4104@tumblerings.org>
  Hi,

Dear diary, on Wed, Apr 19, 2006 at 04:21:31PM CEST, I got a letter where Zack Brown <zbrown@tumblerings.org> said that...

Show 26 quoted lines
> On Wed, Apr 19, 2006 at 11:49:16AM +0200, Petr Baudis wrote:
> > Dear diary, on Wed, Apr 19, 2006 at 07:36:40AM CEST, I got a letter
> > where Zack Brown <zbrown@tumblerings.org> said that...
> > > When I do something like
> > > cg-clone rsync://rsync.kernel.org/pub/scm/linux/kernel/git/torvalds/git.git
> > > 
> > > The first few lines of output are:
> > > 
> > > defaulting to local storage area
> > > warning: templates not found /home/zbrown/share/git-core/templates/
> > > /home/zbrown/git/cogito/cg-clone: line 137: .git/info/cg-fetch-earlydie: No such file or directory
> > > /home/zbrown/git/cogito/cg-clone: line 148: .git/info/cg-fetch-initial: No such file or directory
> > > 
> > > The rest of the process seems to go without incident. However, when I look
> > > at the repository I see:
> > > 
> > > $ ls -A
> > > .git  ___
> > > $
> > 
> > Could you please list the contents of the .git subdirectory? It seems
> > that git-init-db did not create the .git/info subdirectory.
> 
> 07:19:57 [zbrown] ~/git/trees/tmp/git/.git$ ls -F
> total 28
> 4 HEAD  4 branches/  4 config  4 index  4 info/  4 objects/  4 refs/
  hmm, could you please do this just after running git-init-db in an
empty directory? I just realized cg-fetch will mkdir -p the .git/info/
directory.
  If the .git/info/ directory would be there after git-init-db, I
couldn't explain the
	/home/zbrown/git/cogito/cg-clone: line 137: .git/info/cg-fetch-earlydie: No such file or directory

error. If the .git/info/ directory is not there after git-init-db, either it is somehow broken in git-1.3.0, or it belongs to a much older git version.

> 07:18:38 [zbrown] ~$ which git-init-db
> /home/zbrown/git/git//git-init-db
> 07:18:52 [zbrown] ~$ which git        
> /home/zbrown/git/git//git
  It might be a good idea to compare the ctimes.
-- 
				Petr "Pasky" Baudis
Stuff: http://pasky.or.cz/
Right now I am having amnesia and deja-vu at the same time.  I think
I have forgotten this before.
Previous: Zack BrownNext: Zack Brown
Message 6 of 15 in “cg-clone produces "___" file and no working tree”
  1. Zack BrownApr 19, 2006
  2. Junio C HamanoApr 19, 2006
  3. Zack BrownApr 19, 2006
  4. Petr BaudisApr 19, 2006
  5. Zack BrownApr 19, 2006
  6. Petr BaudisApr 19, 2006
  7. Zack BrownApr 20, 2006
  8. Junio C HamanoApr 20, 2006
  9. Zack BrownApr 20, 2006
  10. Junio C HamanoApr 20, 2006
  11. Petr BaudisApr 20, 2006
  12. Junio C HamanoApr 20, 2006
  13. Petr BaudisApr 20, 2006
  14. Junio C HamanoApr 20, 2006
  15. Zack BrownApr 20, 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.