1. 29 2月, 2012 1 次提交
  2. 27 2月, 2012 5 次提交
  3. 06 2月, 2012 4 次提交
  4. 19 1月, 2012 4 次提交
  5. 13 1月, 2012 6 次提交
    • J
      Update draft release notes to 1.7.8.4 · ab8a7808
      Junio C Hamano 提交于
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      ab8a7808
    • J
      Merge branch 'maint-1.7.7' into maint · 5a6a9394
      Junio C Hamano 提交于
      * maint-1.7.7:
        Update draft release notes to 1.7.7.6
        Update draft release notes to 1.7.6.6
        thin-pack: try harder to use preferred base objects as base
      5a6a9394
    • J
      Update draft release notes to 1.7.7.6 · 8f83acf7
      Junio C Hamano 提交于
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      8f83acf7
    • J
      Merge branch 'maint-1.7.6' into maint-1.7.7 · 901c907d
      Junio C Hamano 提交于
      * maint-1.7.6:
        Update draft release notes to 1.7.6.6
        thin-pack: try harder to use preferred base objects as base
      901c907d
    • J
      Update draft release notes to 1.7.6.6 · 04f6785a
      Junio C Hamano 提交于
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      04f6785a
    • J
      thin-pack: try harder to use preferred base objects as base · 15f07e06
      Jeff King 提交于
      When creating a pack using objects that reside in existing packs, we try
      to avoid recomputing futile delta between an object (trg) and a candidate
      for its base object (src) if they are stored in the same packfile, and trg
      is not recorded as a delta already. This heuristics makes sense because it
      is likely that we tried to express trg as a delta based on src but it did
      not produce a good delta when we created the existing pack.
      
      As the pack heuristics prefer producing delta to remove data, and Linus's
      law dictates that the size of a file grows over time, we tend to record
      the newest version of the file as inflated, and older ones as delta
      against it.
      
      When creating a thin-pack to transfer recent history, it is likely that we
      will try to send an object that is recorded in full, as it is newer.  But
      the heuristics to avoid recomputing futile delta effectively forbids us
      from attempting to express such an object as a delta based on another
      object. Sending an object in full is often more expensive than sending a
      suboptimal delta based on other objects, and it is even more so if we
      could use an object we know the receiving end already has (i.e. preferred
      base object) as the delta base.
      
      Tweak the recomputation avoidance logic, so that we do not punt on
      computing delta against a preferred base object.
      
      The effect of this change can be seen on two simulated upload-pack
      workloads. The first is based on 44 reflog entries from my git.git
      origin/master reflog, and represents the packs that kernel.org sent me git
      updates for the past month or two. The second workload represents much
      larger fetches, going from git's v1.0.0 tag to v1.1.0, then v1.1.0 to
      v1.2.0, and so on.
      
      The table below shows the average generated pack size and the average CPU
      time consumed for each dataset, both before and after the patch:
      
                        dataset
                  | reflog | tags
      ---------------------------------
           before | 53358  | 2750977
      size  after | 32398  | 2668479
           change |   -39% |      -3%
      ---------------------------------
           before |  0.18  | 1.12
      CPU   after |  0.18  | 1.15
           change |    +0% |      +3%
      
      This patch makes a much bigger difference for packs with a shorter slice
      of history (since its effect is seen at the boundaries of the pack) though
      it has some benefit even for larger packs.
      Signed-off-by: NJeff King <peff@peff.net>
      Acked-by: NNicolas Pitre <nico@fluxnic.net>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      15f07e06
  6. 12 1月, 2012 3 次提交
  7. 11 1月, 2012 11 次提交
  8. 10 1月, 2012 1 次提交
  9. 07 1月, 2012 5 次提交