projects
/
git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
git-rev-list libification: rev-list walking
[git.git]
/
commit.h
diff --git
a/commit.h
b/commit.h
index
986b22d
..
70a7c75
100644
(file)
--- 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)
* 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 */
#endif /* COMMIT_H */