Documentation: fix broken `sampleRate` in gitpacking(7)
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> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Taylor Blau committed
May 11, 2026 at 20:47 UTC
84780db63657057bee11d898ad6c211730d4212f
1 file changed
+2
-2
Documentation/gitpacking.adoc
+2
-2
@@ -150,7 +150,7 @@ with a configuration like so:
150
pattern = "refs/"
151
threshold = now
152
stableThreshold = never
153
- sampleRate = 100
153
+ sampleRate = 1
154
maxMerges = 64
155
----
156
@@ -177,7 +177,7 @@ like:
177
pattern = "refs/virtual/([0-9]+)/(heads|tags)/"
178
threshold = now
179
stableThreshold = never
180
- sampleRate = 100
180
+ sampleRate = 1
181
maxMerges = 64
182
----
183