1. 04 12月, 2009 6 次提交
    • J
      Merge branch 'bc/grep-i-F' into maint · f2c0ca4f
      Junio C Hamano 提交于
      * bc/grep-i-F:
        grep: Allow case insensitive search of fixed-strings
      f2c0ca4f
    • J
      Merge branch 'jk/maint-break-rename-reduce-memory' into maint · 9a6b9cdd
      Junio C Hamano 提交于
      * jk/maint-break-rename-reduce-memory:
        diffcore-rename: reduce memory footprint by freeing blob data early
        diffcore-break: save cnt_data for other phases
        diffcore-break: free filespec data as we go
      9a6b9cdd
    • J
      Merge branch 'rj/maint-simplify-cygwin-makefile' into maint · c206224b
      Junio C Hamano 提交于
      * rj/maint-simplify-cygwin-makefile:
        Makefile: merge two Cygwin configuration sections into one
      c206224b
    • J
      Merge branch 'rg/doc-workflow' into maint · dc733ef4
      Junio C Hamano 提交于
      * rg/doc-workflow:
        Add branch management for releases to gitworkflows
      dc733ef4
    • J
      Merge branch 'np/maint-sideband-favor-status' into maint · ef3a4fd6
      Junio C Hamano 提交于
      * np/maint-sideband-favor-status:
        give priority to progress messages
      ef3a4fd6
    • J
      Documentation: xmlto 0.0.18 does not know --stringparam · 59a0a0bd
      Junio C Hamano 提交于
      Newer DocBook stylesheets want man.base.url.for.relative.links
      parameter set when formatting manpages with external references
      to turn them into full URLs, and leave a helpful "you should
      set this parameter" message in the output.  Earlier we added
      the MAN_BASE_URL make variable to specify the value for it.
      
      When MAN_BASE_URL is not given, it ought to be safe to set the
      parameter to empty; it would result in an empty leading path for
      older stylesheets that ignore the parameter, and newer ones
      would produce the same "relative URL" without the message.
      
      Unfortunately, older xmlto (at least version 0.0.18 released in
      early 2004 that comes with RHEL/CentOS 5) does not understand
      the --stringparam command line option, so we cannot add the
      parameter definition unconditionally to the command line.  Work
      it around by passing the parameter only when set.
      
      If you do not have a suitable URL prefix, you can pass a quoted empty
      string to it, like so:
      
          $ make MAN_BASE_URL='""'
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      59a0a0bd
  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. 21 11月, 2009 2 次提交
    • R
      Add branch management for releases to gitworkflows · 382e5431
      Raman Gupta 提交于
      The current man page does a reasonable job at describing branch management
      during the development process, but it does not contain any guidance as to
      how the branches are affected by releases.
      
      Add a basic introduction to the branch management undertaken during a
      git.git release, so that a reader may gain some insight into how the
      integration, maintenance, and topic branches are affected during the
      release transition, and is thus able to better design the process for their
      own project.
      
      Other release activities such as reviews, testing, and creating
      distributions are currently out of scope.
      Signed-off-by: NNanako Shiraishi <nanako3@lavabit.com>
      Acked-by: NThomas Rast <trast@student.ethz.ch>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      382e5431
    • J
      diffcore-rename: reduce memory footprint by freeing blob data early · 809809bb
      Junio C Hamano 提交于
      After running one round of estimate_similarity(), filespecs on either
      side will have populated their cnt_data fields, and we do not need
      the blob text anymore.  We used to retain the blob data to optimize
      for smaller projects (not freeing the blob data here would mean that
      the final output phase would not have to re-read it), but we are
      efficient enough without such optimization for smaller projects anyway,
      and freeing memory early will help larger projects.
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      809809bb
  8. 20 11月, 2009 1 次提交
  9. 17 11月, 2009 3 次提交
    • B
      grep: Allow case insensitive search of fixed-strings · 5183bf67
      Brian Collins 提交于
      "git grep" currently an error when you combine the -F and -i flags.
      This isn't in line with how GNU grep handles it.
      
      This patch allows the simultaneous use of those flags.
      Signed-off-by: NJeff King <peff@peff.net>
      Signed-off-by: NBrian Collins <bricollins@gmail.com>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      5183bf67
    • J
      diffcore-break: save cnt_data for other phases · 8282de94
      Jeff King 提交于
      The "break" phase works by counting changes between two
      blobs with the same path. We do this by splitting the file
      into chunks (or lines for text oriented files) and then
      keeping a count of chunk hashes.
      
      The "rename" phase counts changes between blobs at two
      different paths. However, it uses the exact same set of
      chunk hashes (which are immutable for a given sha1).
      
      The rename phase can therefore use the same hash data as
      break. Unfortunately, we were throwing this data away after
      computing it in the break phase. This patch instead attaches
      it to the filespec and lets it live through the rename
      phase, working under the assumption that most of the time
      that breaks are being computed, renames will be too.
      
      We only do this optimization for files which have actually
      been broken, as those ones will be candidates for rename
      detection (and it is a time-space tradeoff, so we don't want
      to waste space keeping useless data).
      Signed-off-by: NJeff King <peff@peff.net>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      8282de94
    • J
      diffcore-break: free filespec data as we go · f4f19fb6
      Jeff King 提交于
      As we look at each changed file and consider breaking it, we
      load the blob data and make a decision about whether to
      break, which is independent of any other blobs that might
      have changed. However, we keep the data in memory while we
      consider breaking all of the other files. Which means that
      both versions of every file you are diffing are in memory at
      the same time.
      
      This patch instead frees the blob data as we finish with
      each file pair, leading to much lower memory usage.
      Signed-off-by: NJeff King <peff@peff.net>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      f4f19fb6
  10. 16 11月, 2009 15 次提交