aboutsummaryrefslogtreecommitdiff
path: root/format/commitgraph/bloom/constants.go
diff options
context:
space:
mode:
Diffstat (limited to 'format/commitgraph/bloom/constants.go')
-rw-r--r--format/commitgraph/bloom/constants.go8
1 files changed, 8 insertions, 0 deletions
diff --git a/format/commitgraph/bloom/constants.go b/format/commitgraph/bloom/constants.go
new file mode 100644
index 00000000..958e551e
--- /dev/null
+++ b/format/commitgraph/bloom/constants.go
@@ -0,0 +1,8 @@
+package bloom
+
+const (
+ // DataHeaderSize is the size of the BDAT header in commit-graph files.
+ DataHeaderSize = 3 * 4
+ // DefaultMaxChange matches Git's default max-changed-paths behavior.
+ DefaultMaxChange = 512
+)