Commits on Oct 30, 2007
  1. use only the $PATH for exec'ing git commands

    srp authored and gitster committed Oct 28, 2007
    We need to correctly set up $PATH for non-c based git commands.
    Since we already do this, we can just use that $PATH and execvp,
    instead of looping over the paths with execve.
    
    This patch adds a setup_path() function to exec_cmd.c, which sets
    the $PATH order correctly for our search order. execv_git_cmd() is
    stripped down to setting up argv and calling execvp(). git.c's
    main() only only needs to call setup_path().
    
    Signed-off-by: Scott R Parish <srp@srparish.net>
    Signed-off-by: Junio C Hamano <gitster@pobox.com>
  2. "current_exec_path" is a misleading name, use "argv_exec_path"

    srp authored and gitster committed Oct 27, 2007
    Signed-off-by: Scott R Parish <srp@srparish.net>
    Signed-off-by: Junio C Hamano <gitster@pobox.com>