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

Re: [PATCH 2/2] Make guilt work even after git-sh-setup is moved out of the user's path

From
Junio C Hamano <gitster@pobox.com>
Date
Jul 8, 2008, 00:56 UTC
Message-ID
<7vwsjxxkfd.fsf@gitster.siamese.dyndns.org>
In-Reply-To
<20080708003256.GB1880@josefsipek.net>
"Josef 'Jeff' Sipek" <jeffpc@josefsipek.net> writes:
Show 23 quoted lines
> On Mon, Jul 07, 2008 at 08:03:12PM -0400, Theodore Ts'o wrote:
>> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
>> ---
>>  guilt |    2 +-
>>  1 files changed, 1 insertions(+), 1 deletions(-)
>> 
>> diff --git a/guilt b/guilt
>> index cdf4e9b..d30d35a 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
>
> This seems wrong.
>
> jeffpc@freyr:~$ git --version
> git version 1.5.6.2.247.g923712
> jeffpc@freyr:~$ git --exec-path
> /home/jeffpc/git-bin/bin
Hmm, it is yours that look wrong.
With 1.6.0 preview (aka 'master'):

$ git --version git version 1.5.6.2.255.gbed62 $ git --exec-path /home/junio/git-master/libexec/git-core

With 1.5.6 maintenance track (aka 'maint'):

$ ~/git-maint/bin/git --version git version 1.5.6.2.15.g39f31 $ ~/git-maint/bin/git --exec-path /home/junio/git-maint/bin

Previous: Josef 'Jeff' SipekNext: Josef 'Jeff' Sipek
Message 5 of 8 in “Two quick patches for guilt v0.30”
  1. Theodore Ts'oJul 8, 2008
  2. 1/2 must_commit_first: Make sure the index is up to dateTheodore Ts'o, Jul 8, 2008
  3. 2/2 Make guilt work even after git-sh-setup is moved out of the user's pathTheodore Ts'o, Jul 8, 2008
  4. Josef 'Jeff' SipekJul 8, 2008
  5. Junio C HamanoJul 8, 2008
  6. Josef 'Jeff' SipekJul 8, 2008
  7. Junio C HamanoJul 8, 2008
  8. Josef 'Jeff' SipekJul 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.