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

[PATCH] guilt(1): fix path to git-sh-setup

From
ACAlex Chiang <achiang@hp.com>
Date
Jul 16, 2008, 23:23 UTC
Message-ID
<20080716232339.GC22919@ldl.fc.hp.com>
git is in the process of moving subcommands to /usr/libexec/git-core

This move breaks an assumption in guilt about the location of git-sh-setup.

We can ask git for where it thinks its executables live.
Signed-off-by: Alex Chiang <achiang@hp.com>
---
diff --git a/guilt b/guilt
index 50414a4..ba4593a 100755
--- a/guilt
+++ b/guilt
@@ -23,7 +23,7 @@ esac
 # we change directories ourselves
 SUBDIRECTORY_OK=1
 
-. git-sh-setup
+. `git --exec-path`/git-sh-setup
 
 #
 # Git version check
Next: Petr Baudis
Message 1 of 4 in “guilt(1): fix path to git-sh-setup”
  1. guilt(1): fix path to git-sh-setupAlex Chiang, Jul 16, 2008
  2. Petr BaudisJul 17, 2008
  3. Johannes SchindelinJul 17, 2008
  4. Josef 'Jeff' SipekJul 17, 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.