1. 13 7月, 2007 10 次提交
    • B
      Add functions for parsing integers with size suffixes · 0b87b6e0
      Brian Downing 提交于
      Split out the nnn{k,m,g} parsing code from git_config_int into
      git_parse_long, so command-line parameters can enjoy the same
      functionality.  Also add get_parse_ulong for unsigned values.
      
      Make git_config_int use git_parse_long, and add get_config_ulong
      as well.
      Signed-off-by: NBrian Downing <bdowning@lavos.net>
      Acked-by: NNicolas Pitre <nico@cam.org>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      0b87b6e0
    • B
      Support fetching the memory usage of a delta index · 11779e79
      Brian Downing 提交于
      Delta indices, at least on 64-bit platforms, tend to be larger than
      the actual uncompressed data.  As such, keeping track of this storage
      is important if you want to successfully limit the memory size of your
      pack window.
      
      Squirrel away the total allocation size inside the delta_index struct,
      and add an accessor "sizeof_delta_index" to access it.
      Signed-off-by: NBrian Downing <bdowning@lavos.net>
      Acked-by: NNicolas Pitre <nico@cam.org>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      11779e79
    • B
      Don't try to delta if target is much smaller than source · a1dab41a
      Brian Downing 提交于
      Add a new try_delta heuristic.  Don't bother trying to make a delta if
      the target object size is much smaller (currently 1/32) than the source,
      as it's very likely not going to get a match.  Even if it does, you will
      have to read at least 32x the size of the new file to reassemble it,
      which isn't such a good deal.  This leads to a considerable performance
      improvement when deltifying a mix of small and large files with a very
      large window, because you don't have to wait for the large files to
      percolate out of the window before things start going fast again.
      Signed-off-by: NBrian Downing <bdowning@lavos.net>
      Acked-by: NNicolas Pitre <nico@cam.org>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      a1dab41a
    • B
      Correct shebang line for contrib/stats/packinfo.pl · b492bbd8
      Brian Downing 提交于
      "/bin/perl"?  What was I thinking?
      Signed-off-by: NBrian Downing <bdowning@lavos.net>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      b492bbd8
    • N
      script to display a distribution of longest common hash prefixes · 750bd6ac
      Nicolas Pitre 提交于
      This script was originally posted on the git mailing list by
      Randal L. Schwartz <merlyn@stonehenge.com>.
      Signed-off-by: NNicolas Pitre <nico@cam.org>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      750bd6ac
    • N
      apply delta depth bias to already deltified objects · c83f032e
      Nicolas Pitre 提交于
      We already apply a bias on the initial delta attempt with max_size being
      a function of the base object depth.  This has the effect of favoring
      shallower deltas even if deeper deltas could be smaller, and therefore
      creating a wider delta tree (see commits 4e8da195 and c3b06a69).
      
      This principle should also be applied to all delta attempts for the same
      object and not only the first attempt.  With this the criteria for the
      best delta is not only its size but also its depth, so that a shallower
      delta might be selected even if it is larger than a deeper one.  Even if
      some deltas get larger, they allow for wider delta trees making the
      depth limit less quickly reached and therefore better deltas can be
      subsequently found, keeping the resulting pack size even smaller.
      Runtime access to the pack should also benefit from shallower deltas.
      
      Testing on different repositories showed slighter faster repacks,
      smaller resulting packs, and a much nicer curve for delta depth
      distribution with no more peak at the maximum depth level.
      Improvements are even more significant with smaller depth limits.
      Signed-off-by: NNicolas Pitre <nico@cam.org>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      c83f032e
    • J
      Update list of older git docs · baafd6e7
      Junio C Hamano 提交于
      baafd6e7
    • J
      Merge commit 'git-gui/master' · b9dcf846
      Junio C Hamano 提交于
      * commit 'git-gui/master': (36 commits)
        git-gui: Change prior tree SHA-1 verification to use git_read
        git-gui: Include a space in Cygwin shortcut command lines
        git-gui: Use sh.exe in Cygwin shortcuts
        git-gui: Paper bag fix for Cygwin shortcut creation
        git-gui: Improve the Windows and Mac OS X shortcut creators
        git-gui: Teach console widget to use git_read
        git-gui: Perform our own magic shbang detection on Windows
        git-gui: Treat `git version` as `git --version`
        git-gui: Assume unfound commands are known by git wrapper
        git-gui: Correct gitk installation location
        git-gui: Always use absolute path to all git executables
        git-gui: Show a progress meter for checking out files
        git-gui: Change the main window progress bar to use status_bar
        git-gui: Extract blame viewer status bar into mega-widget
        git-gui: Allow double-click in checkout dialog to start checkout
        git-gui: Default selection to first matching ref
        git-gui: Unabbreviate commit SHA-1s prior to display
        git-gui: Refactor branch switch to support detached head
        git-gui: Refactor our ui_status_value update technique
        git-gui: Better handling of detached HEAD
        ...
      b9dcf846
    • J
      Merge branch 'maint' · 237ce836
      Junio C Hamano 提交于
      * maint:
        GIT 1.5.2.4
        Teach read-tree 2-way merge to ignore intermediate symlinks
        git-gui: Work around bad interaction between Tcl and cmd.exe on ^{tree}
        git-gui: Don't linewrap within console windows
        git-gui: Correct ls-tree buffering problem in browser
        git-gui: Skip nicknames when selecting author initials
        git-gui: Ensure windows shortcuts always have .bat extension
        git-gui: Include a Push action on the left toolbar
        git-gui: Bind M1-P to push action
        git-gui: Don't bind F5/M1-R in all windows
        git-gui: Unlock the index when cancelling merge dialog
        git-gui: properly popup error if gitk should be started but is not installed
      237ce836
    • J
      GIT 1.5.2.4 · ffb293b6
      Junio C Hamano 提交于
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      ffb293b6
  2. 12 7月, 2007 16 次提交
  3. 10 7月, 2007 14 次提交