diff options
author | Will Chandler <wchandler@gitlab.com> | 2023-09-18 23:28:59 +0300 |
---|---|---|
committer | James Fargher <jfargher@gitlab.com> | 2023-09-18 23:28:59 +0300 |
commit | 603e037ae79749755e5ed48c57cd5acd50a296de (patch) | |
tree | a49ee7dfa7769a9e0670959dbd2be1347b67e6a3 | |
parent | c43b91c07de39a4e32b3bb855787ab43e9c6a6c7 (diff) |
backup: Comment full backup conditional
-rw-r--r-- | internal/backup/backup.go | 1 |
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 { |