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 19, 2006, 14:16 UTC
Message-ID
<20060419141656.GC4104@tumblerings.org>
In-Reply-To
<7vd5feawel.fsf@assigned-by-dhcp.cox.net>
On Tue, Apr 18, 2006 at 11:53:38PM -0700, Junio C Hamano wrote:
Show 15 quoted lines
> Zack Brown <zbrown@tumblerings.org> writes:
> 
> > What is going on? I'm completely unable to clone a repository.
> 
> I have no idea how cg-* is broken, so I'll let Pasky answer
> that, but I suspect your git installation is broken.
> 
> > If I try
> > "git clone rsync://rsync.kernel.org/pub/scm/linux/kernel/git/torvalds/git.git",
> > I get this error: "git: 'clone' is not a git-command", and it prints a usage
> > page, but "clone" is listed on that usage page.
> 
> That sounds intersting.  Although rsync is deprecated for a long
> time and git:// is the preferred transport, I do not get "is not
> a git-command" error.  Are you installing things correctly?

I think so. I was able to reproduce this behavior using the tarballs that are used to start out a new user with git and cogito; as well as with the latest version in the repository.

But I also thought the rsync deprecation was not really true. Wasn't that discussed here recently? I thought the conclusion was that folks *wanted* to deprecate it, but at the moment it was still the best way to accomplish certain things.

Show 9 quoted lines
> 
> For example, as the first paragraph of INSTALL says, if you
> override prefix= from the make command line, you need to do so
> consistently when you build and when you install.
> 
> 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? That's weird. I have /home/zbrown/git/git and /home/zbrown/git/cogito in my $PATH specifically to hold those executables. There's no git stuff in /home/zbrown/bin.

Be well, Zack

> 
-- 
Zack Brown
Previous: Junio C HamanoNext: Petr Baudis
Message 3 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.