Re: Improve support for 'git config gc.reflogExpire never'

2019-03-19 Thread Ævar Arnfjörð Bjarmason
On Fri, Mar 08 2019, Mikko Rantalainen wrote: > If I configure bare repo with > > git config gc.pruneExpire never > git config gc.reflogExpire never > > then git will never garbage collect any commit ever stored in the repo. > This is what I want. > > However, all commits referenced only via ref

Re: Improve support for 'git config gc.reflogExpire never'

2019-03-18 Thread Jeff King
On Fri, Mar 08, 2019 at 10:27:11AM +0200, Mikko Rantalainen wrote: > If I configure bare repo with > > git config gc.pruneExpire never > git config gc.reflogExpire never > > then git will never garbage collect any commit ever stored in the repo. > This is what I want. > > However, all commits r

Improve support for 'git config gc.reflogExpire never'

2019-03-08 Thread Mikko Rantalainen
If I configure bare repo with git config gc.pruneExpire never git config gc.reflogExpire never then git will never garbage collect any commit ever stored in the repo. This is what I want. However, all commits referenced only via reflog are kept as loose objects and will not be included in packs.