X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=rev-list.c;h=77bfc29db1aad08ba9d7d87ce08d33d4a88e74e3;hb=e1a1388d858fa8522f187d3fdea92ff84e21528c;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;