From 7efab539f0fc78aa759000a922c30ac45e84530b Mon Sep 17 00:00:00 2001 From: LaMont Jones Date: Thu, 1 Sep 2022 15:41:12 +0000 Subject: sync: no garbage collection by default Adds --auto-gc and --no-auto-gc (default) options to control sync's behavior around calling `git gc`. Bug: b/184882274 Change-Id: I4d6ca3b233d79566f27e876ab2d79f238ebc12a9 Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/344535 Reviewed-by: Xin Li Tested-by: LaMont Jones --- man/repo-smartsync.1 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'man/repo-smartsync.1') diff --git a/man/repo-smartsync.1 b/man/repo-smartsync.1 index 8475adf1..c1abbb38 100644 --- a/man/repo-smartsync.1 +++ b/man/repo-smartsync.1 @@ -1,5 +1,5 @@ .\" DO NOT MODIFY THIS FILE! It was generated by help2man. -.TH REPO "1" "August 2022" "repo smartsync" "Repo Manual" +.TH REPO "1" "November 2022" "repo smartsync" "Repo Manual" .SH NAME repo \- repo smartsync - manual page for repo smartsync .SH SYNOPSIS @@ -105,6 +105,13 @@ delete refs that no longer exist on the remote .TP \fB\-\-no\-prune\fR do not delete refs that no longer exist on the remote +.TP +\fB\-\-auto\-gc\fR +run garbage collection on all synced projects +.TP +\fB\-\-no\-auto\-gc\fR +do not run garbage collection on any projects +(default) .SS Logging options: .TP \fB\-v\fR, \fB\-\-verbose\fR -- cgit v1.2.3-54-g00ecf