Hello sir,I know the receive.autogc is auto disabled in Gerrit 3.3 in [1]So is there a way to make it in Gerrit 3.2 ?As I configed as followings in jgit.config ,but with no luck.Because packed-refs file updated when GIT PUSH done.[receive]
autogc = false
On 7 Feb 2022, at 06:05, Sun King <king...@gmail.com> wrote:
It came into this eventhough I have upgraded Gerrit from 3.2.3 to 3.3.0... this makes no sense...
And log shows Gerrit still read configuration from Gerrit-Site/etc/jgit.config which was deleted... Very Strange.
INFO com.google.gerrit.server.git.SystemReaderInstaller : Set JGit's SystemReader to read system config from /home/work/gerrit-site/etc/jgit.config
Any suggestion is welcome.BR,sk.在2022年1月29日星期六 UTC+8 19:41:24<David Ostrovsky> 写道:king...@gmail.com schrieb am Samstag, 29. Januar 2022 um 08:22:31 UTC+1:Hello sir,I know the receive.autogc is auto disabled in Gerrit 3.3 in [1]So is there a way to make it in Gerrit 3.2 ?As I configed as followings in jgit.config ,but with no luck.Because packed-refs file updated when GIT PUSH done.[receive]
autogc = falseThis should work as advertised. receive.autogc is respected since the auto GCfeature was introduced in JGit: [1]. Gerrit's jgit.config file delegation was addedin Gerrit 3.1 release: [2].Am I miss something?Thank you.
--
--
To unsubscribe, email repo-discuss...@googlegroups.com
More info at http://groups.google.com/group/repo-discuss?hl=en
---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/repo-discuss/75f397eb-7161-408c-9691-30910ff9a046n%40googlegroups.com.
On 7 Feb 2022, at 08:46, Sun King <king...@gmail.com> wrote:Hi luca,I upgraded Gerrit from 3.2.3 to 3.3.0 cause receive.autogc is auto disabled in Gerrit 3.3, right?
And I want to use the default jgit.config so I deleted the jgit.config in /etc/ folder.
To view this discussion on the web visit https://groups.google.com/d/msgid/repo-discuss/30c2b0b4-6d3a-40f8-bc4d-6e9fa522c0ebn%40googlegroups.com.