git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH] install-doc-quick - use git --exec-path to find git-sh-setup

From
Mark Levedahl <mlevedahl@gmail.com>
Date
Jul 8, 2008, 02:37 UTC
Message-ID
<1215484658-3312-1-git-send-email-mlevedahl@gmail.com>
This is needed as git-sh-setup is no longer in the path.
Signed-off-by: Mark Levedahl <mlevedahl@gmail.com>
---
 Documentation/install-doc-quick.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Documentation/install-doc-quick.sh b/Documentation/install-doc-quick.sh
index 5433cf8..35f4408 100755
--- a/Documentation/install-doc-quick.sh
+++ b/Documentation/install-doc-quick.sh
@@ -6,7 +6,7 @@ head="$1"
 mandir="$2"
 SUBDIRECTORY_OK=t
 USAGE='<refname> <target directory>'
-. git-sh-setup
+. "$(git --exec-path)"/git-sh-setup
 cd_to_toplevel
 
 test -z "$mandir" && usage
-- 
1.5.6.2.271.g73ad8
Message 1 of 1 in “install-doc-quick - use git --exec-path to find git-sh-setup”
  1. install-doc-quick - use git --exec-path to find git-sh-setupMark Levedahl, Jul 8, 2008

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.