1. 04 12月, 2009 14 次提交
  2. 03 12月, 2009 6 次提交
  3. 02 12月, 2009 2 次提交
  4. 01 12月, 2009 1 次提交
  5. 27 11月, 2009 1 次提交
    • J
      builtin-apply.c: pay attention to -p<n> when determining the name · ec7fc0b1
      Junio C Hamano 提交于
      The patch structure has def_name component that is used to validate the
      sanity of a "diff --git" patch by checking pathnames that appear on the
      patch header lines for consistency.  The git_header_name() function is
      used to compute this out of "diff --git a/... b/..." line, but the code
      always stripped one level of prefix (i.e. "a/" and "b/"), without paying
      attention to -p<n> option.  Code in find_name() function that parses other
      lines in the patch header (e.g. "--- a/..." and "+++ b/..." lines) however
      did strip the correct number of leading paths prefixes, and the sanity
      check between these computed values failed.
      
      Teach git_header_name() to honor -p<n> option like find_name() function
      does.
      
      Found and reported by Steven J. Murdoch who also wrote tests.
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      ec7fc0b1
  6. 24 11月, 2009 3 次提交
    • N
      pack-objects: split implications of --all-progress from progress activation · 4f366275
      Nicolas Pitre 提交于
      Currently the --all-progress flag is used to use force progress display
      during the writing object phase even if output goes to stdout which is
      primarily the case during a push operation.  This has the unfortunate
      side effect of forcing progress display even if stderr is not a
      terminal.
      
      Let's introduce the --all-progress-implied argument which has the same
      intent except for actually forcing the activation of any progress
      display.  With this, progress display will be automatically inhibited
      whenever stderr is not a terminal, or full progress display will be
      included otherwise.  This should let people use 'git push' within a cron
      job without filling their logs with useless percentage displays.
      Signed-off-by: NNicolas Pitre <nico@fluxnic.net>
      Tested-by: NJeff King <peff@peff.net>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      4f366275
    • S
      instaweb: restart server if already running · 0b624b4c
      Stephen Boyd 提交于
      Running 'git instaweb' when an instaweb server is already running will
      fail (at least when the port is the same) and overwrite the pid file
      used to track the currently running server. This turns out to be
      especially annoying when the user tries to stop the previously running
      server with 'git instaweb --stop' and is instead greeted with an error
      message because the pid file has been destroyed.
      
      Instead of allowing a user to start two instaweb servers, stop the
      currently running server first and then start the new one. This should
      be fine because it was never really possible to start two instaweb
      servers in the first place due to the pid file issue outlined above.
      Signed-off-by: NStephen Boyd <bebarino@gmail.com>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      0b624b4c
    • J
      prune-packed: only show progress when stderr is a tty · 1ddf5efc
      Jeff King 提交于
      This matches the behavior of other git programs, and helps
      keep cruft out of things like cron job output.
      Signed-off-by: NJeff King <peff@peff.net>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      1ddf5efc
  7. 23 11月, 2009 2 次提交
  8. 21 11月, 2009 5 次提交
  9. 20 11月, 2009 3 次提交
  10. 18 11月, 2009 2 次提交
  11. 17 11月, 2009 1 次提交