I have a git bare repository named "master.git" where i regularly run "git gc --prune=now" at regular intervals.
I have another git bare repository named "slave.git" which is created with the --mirror option from "master.git". But i have stopped "git gc" and will not run, even automatically by turning off in the gitconfig.
Am keeping "slave.git" in sync with "master.git" by pushing with --force --mirror option from master.git -> slave.git
The master.git repository will get changes from developers and slave.git will NOT get any changes from developers and is like a read-only copy.
So the question is if master.git repository is GC'ed regularly and its changes are pushed with mirror option to slave.git, will slave.git repository require a "git gc" to run to keep it optimized OR since we are mirroring an already GC'ed repository slave.git won't require garbage collection?