On 7/27/2017 7:50 PM, Jonathan Tan wrote:
On Thu, 27 Jul 2017 11:59:47 -0700
Junio C Hamano wrote:
@@ -438,6 +438,14 @@ static int fsck_handle_ref(const char *refname, const
struct object_id *oid,
obj = parse_object(oid);
if (!obj) {
+ if (repository_format_lazy
On Thu, 27 Jul 2017 11:59:47 -0700
Junio C Hamano wrote:
> > @@ -438,6 +438,14 @@ static int fsck_handle_ref(const char *refname, const
> > struct object_id *oid,
> >
> > obj = parse_object(oid);
> > if (!obj) {
> > + if (repository_format_lazy_object) {
> > +
Jonathan Tan writes:
> Teach fsck to not treat refs with missing targets as an error when
> extensions.lazyobject is set.
>
> For the purposes of warning about no default refs, such refs are still
> treated as legitimate refs.
>
> Signed-off-by: Jonathan Tan
> ---
> builtin/fsck.c | 8
Teach fsck to not treat refs with missing targets as an error when
extensions.lazyobject is set.
For the purposes of warning about no default refs, such refs are still
treated as legitimate refs.
Signed-off-by: Jonathan Tan
---
builtin/fsck.c | 8
t/t0410-lazy-object.sh | 20 +
4 matches
Mail list logo