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:
authorWill Chandler <wchandler@gitlab.com>2023-09-18 23:28:59 +0300
committerJames Fargher <jfargher@gitlab.com>2023-09-18 23:28:59 +0300
commit603e037ae79749755e5ed48c57cd5acd50a296de (patch)
treea49ee7dfa7769a9e0670959dbd2be1347b67e6a3
parentc43b91c07de39a4e32b3bb855787ab43e9c6a6c7 (diff)
backup: Comment full backup conditional
-rw-r--r--internal/backup/backup.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/backup/backup.go b/internal/backup/backup.go
index 614023583..a11aa4953 100644
--- a/internal/backup/backup.go
+++ b/internal/backup/backup.go
@@ -329,6 +329,7 @@ func (mgr *Manager) writeBundle(ctx context.Context, repo Repository, step *Step
}
var patterns io.Reader
+ // Full backup, no need to check for known refs.
if len(step.PreviousRefPath) > 0 {
negatedRefs, err := mgr.negatedKnownRefs(ctx, step)
if err != nil {