Re: [PATCH] t7005-editor.sh: Don't invoke real vi when it is in GIT_EXEC_PATH

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Johannes Schindelin <Johannes.Schindelin@...>
Cc: <benji@...>, <aroben@...>, <dak@...>, <git@...>
Date: Sunday, November 11, 2007 - 2:01 pm

On 2007.11.11 17:44:14 +0000, Johannes Schindelin wrote:

The . is prepended to PATH in _addition_ to the usual paths (as I wrote,
see setup_path() in exec_cmd.c). It does not replace anything AFAICT.

$ echo $PATH
/home/doener/bin:/usr/local/bin:/usr/bin:/bin:/usr/games

$ GIT_EXEC_PATH=.. GIT_EDITOR="env;" ../git  commit | grep ^PATH=
PATH=/home/doener/src/git:/home/doener/bin:/home/doener/src/git:/home/doener/bin:/usr/local/bin:/usr/bin:/bin:/usr/games

$ GIT_EXEC_PATH=.. GIT_EDITOR="env;" ../git --exec-path=. commit | grep
^PATH=
PATH=/home/doener/src/git/t:/home/doener/src/git:/home/doener/bin:/home/doener/src/git:/home/doener/bin:/usr/local/bin:/usr/bin:/bin:/usr/games


Looks good to me...

Björn
-
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:
t7005 and vi in GIT_EXEC_PATH, Brian Gernhardt, (Sat Nov 10, 6:03 pm)
[PATCH] t7005-editor.sh: Don't invoke real vi when it is in ..., Björn Steinbrink, (Sun Nov 11, 1:38 pm)
Re: [PATCH] t7005-editor.sh: Don't invoke real vi when it is..., Johannes Schindelin, (Sun Nov 11, 1:44 pm)
Re: [PATCH] t7005-editor.sh: Don't invoke real vi when it is..., Björn, (Sun Nov 11, 2:01 pm)
Re: [PATCH] t7005-editor.sh: Don't invoke real vi when it is..., Johannes Schindelin, (Sun Nov 11, 2:31 pm)
Re: t7005 and vi in GIT_EXEC_PATH, Johannes Schindelin, (Sun Nov 11, 11:58 am)
Re: t7005 and vi in GIT_EXEC_PATH, Brian Gernhardt, (Sun Nov 11, 12:10 pm)
Re: t7005 and vi in GIT_EXEC_PATH, Junio C Hamano, (Sun Nov 11, 3:43 pm)
Re: t7005 and vi in GIT_EXEC_PATH, Junio C Hamano, (Sun Nov 11, 5:29 pm)
[PATCH] Use the best available exec path only, Björn, (Sun Nov 11, 4:33 pm)
Re: [PATCH] Use the best available exec path only, Johannes Schindelin, (Sun Nov 11, 4:50 pm)
Re: [PATCH] Use the best available exec path only, Johannes Schindelin, (Sun Nov 11, 5:40 pm)
Re: t7005 and vi in GIT_EXEC_PATH, Johannes Schindelin, (Sun Nov 11, 12:28 pm)
Re: t7005 and vi in GIT_EXEC_PATH, David Kastrup, (Sat Nov 10, 6:09 pm)
Re: t7005 and vi in GIT_EXEC_PATH, Brian Gernhardt, (Sat Nov 10, 6:45 pm)