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, 20:08 UTC
Message-ID
<20060420200849.GA3653@tumblerings.org>
In-Reply-To
<7vejzsywrq.fsf@assigned-by-dhcp.cox.net>
On Thu, Apr 20, 2006 at 10:36:25AM -0700, Junio C Hamano wrote:
Show 24 quoted lines
> Zack Brown <zbrown@tumblerings.org> writes:
> 
> > I just downloaded the latest versions of git and cogito from kernel.org:
> > cogito-0.17.2 and git-1.3.0; put their directories in my path, and ran "make" on
> > both of them. There's no other version in my path.
> 
> Earlier, you were having this symptom:
> 
> >> What do these command say?
> >> 
> >> 	$ git --exec-path
> >> 	$ ls -l "`git --exec-path`/git-clone"
> >
> > 22:07:05 [zbrown] ~$ git --exec-path
> > /home/zbrown/bin
> > 07:10:34 [zbrown] ~$ ls -l "`git --exec-path`/git-clone"
> > ls: /home/zbrown/bin/git-clone: No such file or directory
> >
> > Does that mean it's looking in /home/zbrown/bin for the git binaries?
> 
> If that is the case, you did not just (quote) "and ran "make"".
> 
> You must have run "make frotz=xyzzy target", but you did not mention
> what frotz, xyzzy and target were.
Not true. I went into the git source directory, and ran "make". Nothing more.

I've been doing that for a long time, whenever I sync with the repository. I didn't know the installation instructions had changed.

Show 5 quoted lines
> It probably would help if you did this:
> 
> 	make clean
> 	make bindir=$HOME/git/git gitexecdir=$HOME/git/git/
> 	make bindir=$HOME/git/git gitexecdir=$HOME/git/git/ install

OK, I did this. The first 2 commands worked fine. The third complained of duplicate files, and exited with an error. Maybe because the source tree is also $HOME/git/git

I then did a 'cd ..; mkdir tmp; cd tmp; git-init-db' as before, but there is still no ".git/info" entry created.

Be well, Zack

> 
> As I said in a previous message, the first paragraph in INSTALL
> file explains this.
> 
-- 
Zack Brown
Previous: Junio C HamanoNext: Junio C Hamano
Message 9 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.