also push LFS

This commit is contained in:
pomidorry committed 2026-06-03 23:25:02 +03:00
1 parent 41f1f53b67
commit 30fa04c7b8
1 file changed
+1 -1
+1 -1
View File
@@ -137,7 +137,7 @@ func runPushSync(ctx context.Context, m *repo_model.PushMirror) error {
return errors.New("Unexpected error")
}
if setting.LFS.StartServer && !IsSSHURL(remoteURL.String()) {
if setting.LFS.StartServer {
log.Trace("SyncMirrors [repo: %-v]: syncing LFS objects...", m.Repo)
gitRepo, err := gitrepo.OpenRepository(ctx, storageRepo)