Skip to content

Commit

Permalink
Merge branch 'dh/repack' (early part)
Browse files Browse the repository at this point in the history
* 'dh/repack' (early part):
  Ensure git-repack -a -d --max-pack-size=N deletes correct packs
  pack-objects: clarification & option checks for --max-pack-size
  git-repack --max-pack-size: add option parsing to enable feature
  git-repack --max-pack-size: split packs as asked by write_{object,one}()
  git-repack --max-pack-size: write_{object,one}() respect pack limit
  git-repack --max-pack-size: new file statics and code restructuring
  Alter sha1close() 3rd argument to request flush only
  • Loading branch information
Junio C Hamano committed May 29, 2007
2 parents 41ffe5c + dca3957 commit a77a33a
Show file tree
Hide file tree
Showing 5 changed files with 250 additions and 116 deletions.
5 changes: 5 additions & 0 deletions Documentation/git-pack-objects.txt
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,11 @@ base-name::
times to get to the necessary object.
The default value for --window is 10 and --depth is 50.

--max-pack-size=<n>::
Maximum size of each output packfile, expressed in MiB.
If specified, multiple packfiles may be created.
The default is unlimited.

--incremental::
This flag causes an object already in a pack ignored
even if it appears in the standard input.
Expand Down
5 changes: 5 additions & 0 deletions Documentation/git-repack.txt
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,11 @@ OPTIONS
to be applied that many times to get to the necessary object.
The default value for --window is 10 and --depth is 50.

--max-pack-size=<n>::
Maximum size of each output packfile, expressed in MiB.
If specified, multiple packfiles may be created.
The default is unlimited.


Configuration
-------------
Expand Down
Loading

0 comments on commit a77a33a

Please sign in to comment.