X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=rev-list.c;h=a8fe83c5d805ea8944a07be3832977487b41080d;hb=3e1a70d925b46b9eac1ae523589298ddb6e295af;hp=13015026276029bc213972cae234981ee14b06b7;hpb=a906ce6aa78ac8febf466b46c6fae029137cd506;p=git.git diff --git a/rev-list.c b/rev-list.c index 13015026..a8fe83c5 100644 --- a/rev-list.c +++ b/rev-list.c @@ -5,11 +5,12 @@ #include "tree.h" #include "blob.h" #include "tree-walk.h" +#include "diff.h" #include "revision.h" -/* bits #0-5 in revision.h */ +/* bits #0-15 in revision.h */ -#define COUNTED (1u<<6) +#define COUNTED (1u<<16) static const char rev_list_usage[] = "git-rev-list [OPTION] ... [ -- paths... ]\n" @@ -370,6 +371,8 @@ int main(int argc, const char **argv) save_commit_buffer = verbose_header; track_object_refs = 0; + if (bisect_list) + revs.limited = 1; prepare_revision_walk(&revs); if (revs.tree_objects)