Re: [PATCH] server-info: do not list unlinked packs

2019-05-23 Thread Jeff King
On Thu, May 23, 2019 at 08:59:59AM +, Eric Wong wrote: > > We never delete entries from the in-memory packed_git list; a reprepare > > only adds to the list. You'd need to teach update_server_info() to > > ignore packs which are no longer present (or switch to exec-ing a > > separate update-se

[PATCH] server-info: do not list unlinked packs

2019-05-23 Thread Eric Wong
info() to > ignore packs which are no longer present (or switch to exec-ing a > separate update-server-info binary). Ah, checking files_exists() and setting a bit seems sufficient. 8<- Subject: [PATCH] server-info: do not list unlinked packs Having non-existent packs in obj