X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=rev-list.c;h=77bfc29db1aad08ba9d7d87ce08d33d4a88e74e3;hb=0cc087e3044a7ce19d276f736d983ad8344162f6;hp=1c797d24a91b44994dc11180dd61c3ecf8f93349;hpb=64745109c41a5c4a66b9e3df6bca2fd4abf60d48;p=git.git diff --git a/rev-list.c b/rev-list.c index 1c797d24..77bfc29d 100644 --- a/rev-list.c +++ b/rev-list.c @@ -16,7 +16,7 @@ int main(int argc, char **argv) commit_list_insert(commit, &list); do { - struct commit *commit = pop_most_recent_commit(&list); + struct commit *commit = pop_most_recent_commit(&list, 0x1); printf("%s\n", sha1_to_hex(commit->object.sha1)); } while (list); return 0;