X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=commit.h;h=70a7c75e6590ae7f8eef50f91a495fc6138fda4a;hb=98214e96be00c5132047ae80bca20d4690933c33;hp=986b22de8abd01e7404bc4f195be0d11baefb13a;hpb=90768daaa006516c7ae69ed89d7c2e67243dfac1;p=git.git diff --git a/commit.h b/commit.h index 986b22de8..70a7c75e6 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 */