summaryrefslogtreecommitdiffstats
path: root/git-pack-refs.txt
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2024-04-09 14:47:35 -0700
committerJunio C Hamano <gitster@pobox.com>2024-04-09 14:47:35 -0700
commiteabec52c201642649f007d7ec9e9f99e2b7fb25a (patch)
tree0e50fb48fb2ea0265972a630f9f7e819f25b4630 /git-pack-refs.txt
parentfd00376c5a0146b5ede1fdaf0fbb5987081406d6 (diff)
downloadgit-htmldocs-eabec52c201642649f007d7ec9e9f99e2b7fb25a.tar.gz
Autogenerated HTML docs for v2.44.0-548-g91ec36
Diffstat (limited to 'git-pack-refs.txt')
-rw-r--r--git-pack-refs.txt15
1 files changed, 14 insertions, 1 deletions
diff --git a/git-pack-refs.txt b/git-pack-refs.txt
index 284956acb..2dcabaf74 100644
--- a/git-pack-refs.txt
+++ b/git-pack-refs.txt
@@ -8,7 +8,7 @@ git-pack-refs - Pack heads and tags for efficient repository access
SYNOPSIS
--------
[verse]
-'git pack-refs' [--all] [--no-prune] [--include <pattern>] [--exclude <pattern>]
+'git pack-refs' [--all] [--no-prune] [--auto] [--include <pattern>] [--exclude <pattern>]
DESCRIPTION
-----------
@@ -60,6 +60,19 @@ with many branches of historical interests.
The command usually removes loose refs under `$GIT_DIR/refs`
hierarchy after packing them. This option tells it not to.
+--auto::
+
+Pack refs as needed depending on the current state of the ref database. The
+behavior depends on the ref format used by the repository and may change in the
+future.
++
+ - "files": No special handling for `--auto` has been implemented.
++
+ - "reftable": Tables are compacted such that they form a geometric
+ sequence. For two tables N and N+1, where N+1 is newer, this
+ maintains the property that N is at least twice as big as N+1. Only
+ tables that violate this property are compacted.
+
--include <pattern>::
Pack refs based on a `glob(7)` pattern. Repetitions of this option