From: Zack Brown Date: Thu, 20 Apr 2006 21:34:20 GMT Subject: Re: cg-clone produces "___" file and no working tree 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: > Junio C Hamano writes: > > > Zack Brown 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 ;-). > --