From: Konstantin Ryabitsev Date: Sun, 12 Jul 2020 20:25:02 GMT Subject: Re: FETCH_HEAD files and mirrored repos Message-ID: <20200712202502.x4p2c7rf6ctflt5g@chatter.i7.local> In-Reply-To: On Sun, Jul 12, 2020 at 10:33:09AM -0700, Junio C Hamano wrote: > >> So, unless your script depends on the presence and/or the contents > >> of FETCH_HEAD, you can safely remove it. > > > > Excellent, that just saved me 20G per each mirror. :) > > Meaning that minimum 4k per file adds up that much due to 5 millions > of repositories, or something? Gosh, no. Only 28,000 repositories, with many FETCH_HEAD files being a few MB in size. I also discovered that symlinking FETCH_HEAD to /dev/null works as well and thus saves a few IO cycles. -K