Re: [PATCH] guilt(1): fix path to git-sh-setup
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Jul 17, 2008, 11:58 UTC
- Message-ID
- <alpine.LSU.1.00.0807171357150.3486@wbgn129.biozentrum.uni-wuerzburg.de>
- In-Reply-To
- <20080717100217.GT32184@machine.or.cz>
Hi,
On Thu, 17 Jul 2008, Petr Baudis wrote:
Show 13 quoted lines
> On Wed, Jul 16, 2008 at 05:23:39PM -0600, Alex Chiang wrote: > > 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 > > Beware of the proverbial "/Program Files/Git" location, however.
Indeed. And when trying to stray not _too_ far away from the coding style of git.git, avoid the backticks, too, like so:
. "$(git --exec-path)"/git-sh-setup
Ciao, Dscho