Re: [PATCH v2 4/4] gc: remove broken symrefs
- From
Jeff King <peff@peff.net>
- Date
- Sep 28, 2015, 19:03 UTC
- Message-ID
- <20150928190332.GA17258@sigill.intra.peff.net>
- In-Reply-To
- <fb29b39adf14a702c5127d722d86647a3dc9c891.1443448748.git.johannes.schindelin@gmx.de>
On Mon, Sep 28, 2015 at 04:02:08PM +0200, Johannes Schindelin wrote:
Show 7 quoted lines
> @@ -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