summaryrefslogtreecommitdiff
path: root/INSTALL
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2006-07-03 06:54:47 (GMT)
committerJunio C Hamano <junkio@cox.net>2006-07-03 08:09:03 (GMT)
commit3c767a08243244b18d48315f8433ba07e435f654 (patch)
treee17b0f01bde0a78af98753a249e694acba81d6be /INSTALL
parentd3140f5c2a6b42361bca960f627b00264d5c7372 (diff)
downloadgit-3c767a08243244b18d48315f8433ba07e435f654.zip
git-3c767a08243244b18d48315f8433ba07e435f654.tar.gz
git-3c767a08243244b18d48315f8433ba07e435f654.tar.bz2
INSTALL: a tip for running after building but without installing.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'INSTALL')
-rw-r--r--INSTALL13
1 files changed, 13 insertions, 0 deletions
diff --git a/INSTALL b/INSTALL
index f8337e2..ed502de 100644
--- a/INSTALL
+++ b/INSTALL
@@ -29,6 +29,19 @@ Issues of note:
has been actively developed since 1997, and people have moved over to
graphical file managers.
+ - You can use git after building but without installing if you
+ wanted to. Various git commands need to find other git
+ commands and scripts to do their work, so you would need to
+ arrange a few environment variables to tell them that their
+ friends will be found in your built source area instead of at
+ their standard installation area. Something like this works
+ for me:
+
+ GIT_EXEC_PATH=`pwd`
+ PATH=`pwd`:$PATH
+ PERL5LIB=`pwd`/perl/blib/lib:`pwd`/perl/blib/arch/auto/Git
+ export GIT_EXEC_PATH PATH PERL5LIB
+
- Git is reasonably self-sufficient, but does depend on a few external
programs and libraries: