Code

Documentation: don't assume git-sh-setup and git-parse-remote are in PATH
authorjrnieder@uchicago.edu <jrnieder@uchicago.edu>
Sun, 29 Jun 2008 16:10:20 +0000 (11:10 -0500)
committerJunio C Hamano <gitster@pobox.com>
Mon, 30 Jun 2008 06:28:47 +0000 (23:28 -0700)
When git-parse-remote and git-sh-setup are not installed in
$(bindir) anymore, the shell script library won't be found on
user's $PATH in general.

Signed-off-by: Jonathan Nieder <jrnieder@uchicago.edu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-parse-remote.txt
Documentation/git-sh-setup.txt

index 951dbd6c830a15cafaa7281cb1c6de357d97b4cc..421312eca91d68711a08e6747e7730d77ba006aa 100644 (file)
@@ -8,7 +8,7 @@ git-parse-remote - Routines to help parsing remote repository access parameters
 
 SYNOPSIS
 --------
-'. git-parse-remote'
+'. "$(git --exec-path)/git-parse-remote"'
 
 DESCRIPTION
 -----------
index c543170342030e318e87e75c29f23334655ee7ce..6731f9ac4cc15a757600375307e4a10e32f4424a 100644 (file)
@@ -7,7 +7,7 @@ git-sh-setup - Common git shell script setup code
 
 SYNOPSIS
 --------
-'git-sh-setup'
+'. "$(git --exec-path)/git-sh-setup"'
 
 DESCRIPTION
 -----------