Re: [PATCH] execv_git_cmd(): also try PATH if everything else fails.

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Johannes Schindelin <Johannes.Schindelin@...>
Cc: Shawn O. Pearce <spearce@...>, <git@...>
Date: Monday, October 22, 2007 - 10:36 am

On Sun, Oct 21, 2007 at 10:59:01PM +0100, Johannes Schindelin wrote:


I'm tempted to try a different approach. What if instead of looping
and building up strings of all the different absolute paths we want
to try we just prepend to PATH with the correct extra precedence,
and then call execvp on the command we want?

sRp

-- 
Scott Parish
http://srparish.net/

-
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:
Re: [PATCH] When exec'ing sub-commands, fall back on ex..., Scott R Parish, (Sat Oct 20, 4:12 am)
[PATCH] execv_git_cmd(): also try PATH if everything else fa..., Johannes Schindelin, (Sat Oct 20, 6:00 pm)
Re: [PATCH] execv_git_cmd(): also try PATH if everything els..., Johannes Schindelin, (Sun Oct 21, 6:02 pm)
[PATCH] execv_git_cmd(): also try PATH if everything else fa..., Johannes Schindelin, (Sun Oct 21, 5:59 pm)
Re: [PATCH] execv_git_cmd(): also try PATH if everything els..., Scott Parish, (Mon Oct 22, 10:36 am)
Re: [PATCH] execv_git_cmd(): also try PATH if everything els..., Andreas Ericsson, (Mon Oct 22, 11:19 am)
Re: [PATCH] execv_git_cmd(): also try PATH if everything els..., Johannes Schindelin, (Mon Oct 22, 6:35 am)
Re: [PATCH] execv_git_cmd(): also try PATH if everything els..., Johannes Schindelin, (Tue Oct 23, 7:12 am)
Re: [PATCH] When exec'ing sub-commands, fall back on ex..., Johannes Schindelin, (Sat Oct 20, 4:25 pm)
Re: [PATCH] Deduce exec_path also from calls to git with a ..., Johannes Schindelin, (Sat Oct 20, 5:31 pm)