[PATCH v3 8/9] Documentation: fix broken `sampleRate` in gitpacking(7)
- From
Taylor Blau <me@ttaylorr.com>
- Date
- May 12, 2026, 00:47 UTC
- Message-ID
- <46d0ee2f168a404d5f8832f60c0b2cc241dd0cfa.1778546804.git.me@ttaylorr.com>
- In-Reply-To
- <cover.1778546804.git.me@ttaylorr.com>
The documentation explaining some sample configurations for bitmap pseudo-merges incorrectly uses a sample rate outside of the allowed (0,1] range.
This dates back to faf558b23ef (pseudo-merge: implement support for selecting pseudo-merge commits, 2024-05-23), and was likely written when the allowable range for this configuration was the integral values between (0,100].
Fix this to conform to the actual allowable range for this configuration.
Noticed-by: Elijah Newren <newren@gmail.com> Signed-off-by: Taylor Blau <me@ttaylorr.com> --- Documentation/gitpacking.adoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Documentation/gitpacking.adoc b/Documentation/gitpacking.adoc index a56596e2d1d..e6de6ec8249 100644 --- a/Documentation/gitpacking.adoc +++ b/Documentation/gitpacking.adoc @@ -150,7 +150,7 @@ with a configuration like so: pattern = "refs/" threshold = now stableThreshold = never - sampleRate = 100 + sampleRate = 1 maxMerges = 64 ---- @@ -177,7 +177,7 @@ like: pattern = "refs/virtual/([0-9]+)/(heads|tags)/" threshold = now stableThreshold = never - sampleRate = 100 + sampleRate = 1 maxMerges = 64 ----
-- 2.54.0.76.g9b17dab2cf7