X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=commit.h;h=70a7c75e6590ae7f8eef50f91a495fc6138fda4a;hb=379156e1dc46e0d22f0c7c0c52913c6259c62258;hp=986b22de8abd01e7404bc4f195be0d11baefb13a;hpb=90768daaa006516c7ae69ed89d7c2e67243dfac1;p=git.git diff --git a/commit.h b/commit.h index 986b22de..70a7c75e 100644 --- a/commit.h +++ b/commit.h @@ -72,6 +72,8 @@ int count_parents(struct commit * commit); * Post-conditions: * invariant of resulting list is: * a reachable from b => ord(b) < ord(a) + * in addition, when lifo == 0, commits on parallel tracks are + * sorted in the dates order. */ -void sort_in_topological_order(struct commit_list ** list); +void sort_in_topological_order(struct commit_list ** list, int lifo); #endif /* COMMIT_H */