1. 13 7月, 2007 8 次提交
    • 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 次提交
  4. 09 7月, 2007 2 次提交
    • S
      git-gui: Improve the Windows and Mac OS X shortcut creators · 7eafa2f1
      Shawn O. Pearce 提交于
      We now embed any GIT_* and SSH_* environment variables as well as
      the path to the git wrapper executable into the Mac OS X .app file.
      This should allow us to restore the environment properly when
      we restart.
      
      We also try to use proper Bourne shell single quoting when we can,
      as this avoids any sort of problems that might occur due to a path
      containing shell metacharacters.
      Signed-off-by: NShawn O. Pearce <spearce@spearce.org>
      7eafa2f1
    • S
      git-gui: Teach console widget to use git_read · 74c4763c
      Shawn O. Pearce 提交于
      Now that we are pretty strict about setting up own absolute paths to
      any git helper (saving a marginal runtime cost to resolve the tool)
      we can do the same in our console widget by making sure all console
      execs go through git_read if they are a git subcommand, and if not
      make sure they at least try to use the Tcl 2>@1 IO redirection if
      possible, as it should be faster than |& cat.
      Signed-off-by: NShawn O. Pearce <spearce@spearce.org>
      74c4763c