All of lore.kernel.org
 help / color / mirror / Atom feed
From: Junio C Hamano <junkio@cox.net>
To: Zack Brown <zbrown@tumblerings.org>
Cc: git@vger.kernel.org
Subject: Re: cg-clone produces "___" file and no working tree
Date: Thu, 20 Apr 2006 13:23:35 -0700	[thread overview]
Message-ID: <7vodywxago.fsf@assigned-by-dhcp.cox.net> (raw)
In-Reply-To: <7vslo8xaql.fsf@assigned-by-dhcp.cox.net> (Junio C. Hamano's message of "Thu, 20 Apr 2006 13:17:38 -0700")

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 ;-).

  parent reply	other threads:[~2006-04-20 20:23 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-19  5:36 cg-clone produces "___" file and no working tree Zack Brown
2006-04-19  6:53 ` Junio C Hamano
2006-04-19 14:16   ` Zack Brown
2006-04-19  9:49 ` Petr Baudis
2006-04-19 14:21   ` Zack Brown
2006-04-19 14:48     ` Petr Baudis
2006-04-20 16:49       ` Zack Brown
2006-04-20 17:36         ` Junio C Hamano
2006-04-20 20:08           ` Zack Brown
2006-04-20 20:17             ` Junio C Hamano
2006-04-20 20:19               ` Petr Baudis
2006-04-20 20:26                 ` Junio C Hamano
2006-04-20 20:35                   ` Petr Baudis
2006-04-20 20:23               ` Junio C Hamano [this message]
2006-04-20 21:34                 ` Zack Brown

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7vodywxago.fsf@assigned-by-dhcp.cox.net \
    --to=junkio@cox.net \
    --cc=git@vger.kernel.org \
    --cc=zbrown@tumblerings.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.