1. 01 7月, 2009 1 次提交
  2. 21 6月, 2009 1 次提交
  3. 19 6月, 2009 2 次提交
  4. 12 6月, 2009 1 次提交
  5. 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
  6. 09 6月, 2009 1 次提交
  7. 07 6月, 2009 6 次提交
  8. 01 6月, 2009 5 次提交
  9. 29 5月, 2009 1 次提交
  10. 23 5月, 2009 2 次提交
  11. 17 5月, 2009 1 次提交
  12. 14 5月, 2009 1 次提交
  13. 11 5月, 2009 1 次提交
  14. 10 5月, 2009 1 次提交
  15. 02 5月, 2009 1 次提交
  16. 30 4月, 2009 1 次提交
  17. 29 4月, 2009 1 次提交
  18. 28 4月, 2009 2 次提交
  19. 27 4月, 2009 1 次提交
  20. 26 4月, 2009 1 次提交
  21. 24 4月, 2009 1 次提交
  22. 21 4月, 2009 1 次提交
    • J
      Windows: Skip fstat/lstat optimization in write_entry() · 34779c53
      Johannes Sixt 提交于
      Commit e4c72923 (write_entry(): use fstat() instead of lstat() when file
      is open, 2009-02-09) introduced an optimization of write_entry().
      Unfortunately, we cannot take advantage of this optimization on Windows
      because there is no guarantee that the time stamps are updated before the
      file is closed:
      
        "The only guarantee about a file timestamp is that the file time is
         correctly reflected when the handle that makes the change is closed."
      
      (http://msdn.microsoft.com/en-us/library/ms724290(VS.85).aspx)
      
      The failure of this optimization on Windows can be observed most easily by
      running a 'git checkout' that has to update several large files. In this
      case, 'git checkout' will report modified files, but infact only the
      timestamps were incorrectly recorded in the index, as can be verified by a
      subsequent 'git diff', which shows no change.
      
      Dmitry Potapov reports the same fix needs on Cygwin; this commit contains
      his updates for that.
      Signed-off-by: NJohannes Sixt <j6t@kdbg.org>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      34779c53
  23. 20 4月, 2009 1 次提交
  24. 09 4月, 2009 2 次提交
    • J
      tests: skip perl tests if NO_PERL is defined · 1b19ccd2
      Jeff King 提交于
      These scripts all test git programs that are written in
      perl, and thus obviously won't work if NO_PERL is defined.
      We pass NO_PERL to the scripts from the building Makefile
      via the GIT-BUILD-OPTIONS file.
      Signed-off-by: NJeff King <peff@peff.net>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      1b19ccd2
    • J
      Makefile: allow building without perl · 499c2939
      Jeff King 提交于
      For systems with a missing or broken perl, it is nicer to
      explicitly say "we don't want perl" because:
      
        1. The Makefile knows not to bother with Perl-ish things
           like Git.pm.
      
        2. We can print a more user-friendly error message
           than "foo is not a git command" or whatever the broken
           perl might barf
      
        3. Test scripts that require perl can mark themselves and
           such and be skipped
      
      This patch implements parts (1) and (2). The perl/
      subdirectory is skipped entirely, gitweb is not built, and
      any git commands which rely on perl will print a
      human-readable message and exit with an error code.
      
      This patch is based on one from Robin H. Johnson.
      Signed-off-by: NJeff King <peff@peff.net>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      499c2939
  25. 08 4月, 2009 2 次提交
  26. 05 4月, 2009 1 次提交
    • C
      bisect--helper: implement "git bisect--helper" · 1bf072e3
      Christian Couder 提交于
      This patch implements a new "git bisect--helper" builtin plumbing
      command that will be used to migrate "git-bisect.sh" to C.
      
      We start by implementing only the "--next-vars" option that will
      read bisect refs from "refs/bisect/", and then compute the next
      bisect step, and output shell variables ready to be eval'ed by
      the shell.
      
      At this step, "git bisect--helper" ignores the paths that may
      have been put in "$GIT_DIR/BISECT_NAMES". This will be fixed in a
      later patch.
      Signed-off-by: NChristian Couder <chriscool@tuxfamily.org>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      1bf072e3