Skip to content

Commit edb4fd9

Browse files
committed
Merge branch 'ps/doc-pack-refs-auto-with-files-backend-fix'
Doc update. * ps/doc-pack-refs-auto-with-files-backend-fix: docs/git-pack-refs: document heuristic used for packing loose refs
2 parents ac5fd29 + ad7780b commit edb4fd9

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Documentation/git-pack-refs.adoc

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,10 @@ Pack refs as needed depending on the current state of the ref database. The
6666
behavior depends on the ref format used by the repository and may change in the
6767
future.
6868
+
69-
- "files": No special handling for `--auto` has been implemented.
69+
- "files": Loose references are packed into the `packed-refs` file
70+
based on the ratio of loose references to the size of the
71+
`packed-refs` file. The bigger the `packed-refs` file, the more loose
72+
references need to exist before we repack.
7073
+
7174
- "reftable": Tables are compacted such that they form a geometric
7275
sequence. For two tables N and N+1, where N+1 is newer, this

0 commit comments

Comments
 (0)