diff options
Diffstat (limited to 'internal/git/packfile/index.go')
-rw-r--r-- | internal/git/packfile/index.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/git/packfile/index.go b/internal/git/packfile/index.go index 75bf50106..21655ef00 100644 --- a/internal/git/packfile/index.go +++ b/internal/git/packfile/index.go @@ -258,6 +258,7 @@ const ( nBuckets = 1 << digitSize ) +// ComputePackfileOrder is based on https://github.com/git/git/blob/master/pack-revindex.c func (idx *Index) ComputePackfileOrder() { if len(idx.ObjectsPackfileOrder) > 0 { return |