Skip to content

Commit 8147fa1

Browse files
committed
Add John Wiegley's git-maxpack script
1 parent e20dae5 commit 8147fa1

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@ git clone this repository, then add it to your `$PATH`. Nothing here actually re
103103
* git-incoming - Michael Markert's [dotfiles](https://github.com/cofi/dotfiles)
104104
* git-incoming-commits - Ryan Tomayko's [dotfiles](https://github.com/rtomayko/dotfiles)
105105
* git-ls-object-refs - Ryan Tomayko's [dotfiles](https://github.com/rtomayko/dotfiles)
106+
* git-maxpack - John Wiegley's [git-scripts](https://github.com/jwiegley/git-scripts)
106107
* git-nuke - Zach Holman's [dotfiles](https://github.com/holman/dotfiles)
107108
* git-object-deflate - Ryan Tomayko's [dotfiles](https://github.com/rtomayko/dotfiles)
108109
* git-outgoing - Michael Markert's [dotfiles](https://github.com/cofi/dotfiles)

git-maxpack

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/bin/sh
2+
#
3+
# Original source: https://github.com/jwiegley/git-scripts/blob/master/git-maxpack
4+
5+
git config pack.compression 9
6+
git gc --prune=now
7+
git repack -a -d --depth=250 --window=250

0 commit comments

Comments
 (0)