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

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <jeffpc@...>
Cc: <git@...>
Date: Wednesday, July 16, 2008 - 7:23 pm

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
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] guilt(1): fix path to git-sh-setup, Alex Chiang, (Wed Jul 16, 7:23 pm)
Re: [PATCH] guilt(1): fix path to git-sh-setup, Josef 'Jeff' Sipek, (Thu Jul 17, 10:53 am)
Re: [PATCH] guilt(1): fix path to git-sh-setup, Petr Baudis, (Thu Jul 17, 6:02 am)
Re: [PATCH] guilt(1): fix path to git-sh-setup, Johannes Schindelin, (Thu Jul 17, 7:58 am)