public override void UpdateServerInfo() { using (var rep = GetRepository()) { if (rep.ObjectDatabase is ObjectDirectory) { RefWriter rw = new GitSharpCoreBasedSimpleRefWriter(rep, rep.getAllRefs().Values); rw.writePackedRefs(); rw.writeInfoRefs(); var packs = GetPackRefs(rep); WriteInfoPacks(packs, rep); } } }