Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitaly.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'internal/git/packfile/index.go')
-rw-r--r--internal/git/packfile/index.go1
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