Re: RFC: Resumable clone based on hybrid "smart" and "dumb" HTTP
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Feb 10, 2016, 21:07 UTC
- Message-ID
- <xmqqd1s4z334.fsf@gitster.mtv.corp.google.com>
- In-Reply-To
- <20160210210115.GA10155@google.com>
Jonathan Nieder <jrnieder@gmail.com> writes:
Show 5 quoted lines
> --strict + --check-self-contained-and-connected check that the pack > is self-contained. In the process they mark each object that is > reachable from another object in the pack with FLAG_LINK. > > The objects not marked with FLAG_LINK are the roots.
Ahh, OK, if we already have the code that does it, I have no objection. At some point before finalizing the pack on the disk we would want to run fsck on all objects anyway, so having to pass "--strict" to find objects that lack FLAG_LINK does not sound too big a downside.
Thanks.