From 3e884f5f3d42cbc4874a04da31dde10314b0cfad Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Thu, 26 Mar 2026 09:17:14 +0000 Subject: format: Move commitgraph and packfile here --- format/commitgraph/bloom/constants.go | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 format/commitgraph/bloom/constants.go (limited to 'format/commitgraph/bloom/constants.go') 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 +) -- cgit v1.3.1-10-gc9f91