X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=revision.c;h=9f5dac5f1d8a8a654a2ab77e8e26fb134c7e36fa;hb=c32056e0ef193002f80d75fd795e156ddf65c4ab;hp=a31434bdc8ed19674d3c4863e009af0c40d75e73;hpb=b8e8db281cea9641253233a2bf8d01ab1f908abe;p=git.git diff --git a/revision.c b/revision.c index a31434bdc..9f5dac5f1 100644 --- a/revision.c +++ b/revision.c @@ -133,7 +133,7 @@ void mark_parents_uninteresting(struct commit *commit) static void add_pending_object_with_mode(struct rev_info *revs, struct object *obj, const char *name, unsigned mode) { if (revs->no_walk && (obj->flags & UNINTERESTING)) - die("object ranges do not make sense when not walking revisions"); + revs->no_walk = 0; if (revs->reflog_info && obj->type == OBJ_COMMIT && add_reflog_for_walk(revs->reflog_info, (struct commit *)obj, name))