1. 08 8月, 2009 3 次提交
  2. 07 8月, 2009 1 次提交
  3. 06 8月, 2009 3 次提交
  4. 25 7月, 2009 1 次提交
    • J
      SunOS grep does not understand -C<n> nor -e · 01ae841c
      Junio C Hamano 提交于
      The first "grep -C1" test in t7002 does not pass on my SunOS-5.11-i86pc,
      and that is not because our way to spawn external grep is broken, but
      because the native grep does not understand -C<n>.
      
      It turns out that Peff was also using this option himself because our
      Makefile doesn't do that automatically.  Brandon Casey uses SUNWspro
      compiler without having to set this, and it turns out that the compiler
      does not define preprocessor macro __unix__ which made him always use the
      built-in grep, never an external one.
      
      Let's be more explicit and say that we do not use external grep on Suns.
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      01ae841c
  5. 11 7月, 2009 4 次提交
  6. 09 7月, 2009 1 次提交
    • J
      Makefile: install 'git' in execdir · 4ecbc178
      Jeff King 提交于
      When a git command executes a subcommand, it uses the "git
      foo" form, which relies on finding "git" in the PATH.
      Normally this should not be a problem, since the same "git"
      that was used to invoke git in the first place will be
      found.  And if somebody invokes a "git" outside of the PATH
      (e.g., by giving its absolute path), this case is already
      covered: we put that absolute path onto the front of PATH.
      
      However, if one is using "sudo", then sudo will execute the
      "git" from the PATH, but pass along a restricted PATH that
      may not contain the original "git" directory. In this case,
      executing a subcommand will fail.
      
      To solve this, we put the "git" wrapper itself into the
      execdir; this directory is prepended to the PATH when git
      starts, so the wrapper will always be found.
      Signed-off-by: NJeff King <peff@peff.net>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      4ecbc178
  7. 01 7月, 2009 1 次提交
  8. 21 6月, 2009 1 次提交
  9. 19 6月, 2009 2 次提交
  10. 12 6月, 2009 1 次提交
  11. 10 6月, 2009 1 次提交
    • J
      Makefile: insert SANE_TOOL_PATH to PATH before /bin or /usr/bin · 61dbb3c4
      Junio C Hamano 提交于
      In an earlier patch, we introduced SANE_TOOL_PATH that is prepended to
      user's PATH.  This had an unintended consequence of overriding user's
      private binary directory that typically comes earlier in the PATH to holds
      even saner commands than whatever comes with the system.
      
      For example, a user may have ~/bin that is early in the path and contains
      a shell script "vi" that launches system's /bin/vi with specific options.
      Prepending SANE_TOOL_PATH to the PATH that happens to have "vi" in it
      defeats such customization.
      
      This fixes the issue by inserting SANE_TOOL_PATH just before /bin or
      /usr/bin appears on the PATH.
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      61dbb3c4
  12. 09 6月, 2009 1 次提交
  13. 07 6月, 2009 6 次提交
  14. 01 6月, 2009 5 次提交
  15. 29 5月, 2009 1 次提交
  16. 23 5月, 2009 2 次提交
  17. 17 5月, 2009 1 次提交
  18. 14 5月, 2009 1 次提交
  19. 11 5月, 2009 1 次提交
  20. 10 5月, 2009 1 次提交
  21. 02 5月, 2009 1 次提交
  22. 30 4月, 2009 1 次提交