Changes between Version 71 and Version 72 of UsingGitWithWebKit


Ignore:
Timestamp:
Sep 8, 2011 4:52:08 PM (13 years ago)
Author:
davidbarr@chromium.org
Comment:

Update suggested repack parameters from experiments

Legend:

Unmodified
Added
Removed
Modified
  • UsingGitWithWebKit

    v71 v72  
    221221}}}
    222222
    223 It is a good idea to do an "aggressive" gc occasionally, like so (be warned that this can take multiple hours!):
     223It is a good idea to repack occasionally, like so (be warned that this can take multiple hours!):
    224224{{{
    225225# The following git-config commands are only needed on Windows AFAIK
     
    227227git config pack.windowMemory 256m
    228228
    229 # The following git-config commands achieve excellent compression without wasting effort
    230 git config --local pack.compression 9
    231 git config --local pack.aggressiveWindow 70
    232 
    233 git gc --aggressive
    234 
    235 # To avoid repacking ancient history, keep the pack resulting from and aggressive gc
     229# The following commands achieve excellent compression without wasting effort and preserve low-latency reads
     230 git config --local pack.compression 9
     231 # If this is the first repack since setting pack.compression, add -F to the command below. If repack doesn't recognise -F, just call it without it.
     232 git repack -adf --window=65 --depth=3
     233
     234# To avoid repacking ancient history, keep the resulting pack
    236235touch $(ls .git/objects/pack/pack-*.idx|sed s/idx/keep/)
    237236}}}