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

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

From
ZBZack Brown <zbrown@tumblerings.org>
Date
Apr 20, 2006, 21:34 UTC
Message-ID
<20060420213420.GD3653@tumblerings.org>
In-Reply-To
<7vodywxago.fsf@assigned-by-dhcp.cox.net>
Hi,
> honestly I would not recommend "runnning
> without installing" unless you know what you are doing ;-).

OK, you're right, the problem was that I was not doing a proper install. I followed the directions and it worked. Thanks!

Be well, Zack

On Thu, Apr 20, 2006 at 01:23:35PM -0700, Junio C Hamano wrote:
Show 33 quoted lines
> Junio C Hamano <junkio@cox.net> writes:
> 
> > Zack Brown <zbrown@tumblerings.org> writes:
> >
> >> Not true. I went into the git source directory, and ran "make". Nothing more.
> >
> > Ah, I misunderstood.  You are trying to run it _without_
> > installing it.
> >
> > Well, then probably you do not have templates installed
> > anywhere, especially not where git-init-db expects them to be
> > found.
> 
> (sorry for the short message sent unfinished by mistake).
> 
> Running things without installing is somewhat tricky, but test
> framework needs to do that, so there are some things you would
> need to do.
> 
>  - "git init-db" takes --template argument; in the source area
>    before installing, they are built in templates/blt/.
> 
>  - "git" and programs that need to invoke other git programs
>    (e.g. git-send-pack) expects things to be found in gitexecdir
>    you set when you build.  If you are not installing, you need
>    to override that with GIT_EXEC_PATH environment variable.
> 
> There might be other things, but you should be able to find them
> from what t/Makefile and t/test-lib.sh do.
> 
> Having said that, honestly I would not recommend "runnning
> without installing" unless you know what you are doing ;-).
> 
Previous: Junio C Hamano
Message 15 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.