From: Jeff King Date: Mon, 28 Sep 2015 19:03:32 GMT Subject: Re: [PATCH v2 4/4] gc: remove broken symrefs Message-ID: <20150928190332.GA17258@sigill.intra.peff.net> In-Reply-To: On Mon, Sep 28, 2015 at 04:02:08PM +0200, Johannes Schindelin wrote: > @@ -136,7 +139,14 @@ int cmd_prune(int argc, const char **argv, const char *prefix) > if (show_progress) > progress = start_progress_delay(_("Checking connectivity"), 0, 0, 2); > > - mark_reachable_objects(&revs, 1, expire, progress, NULL); > + revs.ignore_missing = 1; > + mark_reachable_objects(&revs, 1, expire, progress, &broken_symrefs); You should not need this ignore_missing anymore, right? It is the dangerous thing I mentioned earlier, but I am puzzled why it does not cause t5312 to fail. -Peff