summaryrefslogtreecommitdiff
path: root/commit.h
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2006-02-18 01:24:10 -0800
committerJunio C Hamano <junkio@cox.net>2006-02-18 01:24:10 -0800
commit62a4417b574ce5120882016fd7803b9bccf68a67 (patch)
tree62f18b3790e16f0be4d822822a48aa808d7f41b8 /commit.h
parent8fa40aa915964f0df281106221b10fbe664b4fa9 (diff)
parent4c8725f16abff4be4812d0d07a663250bef3ef0e (diff)
downloadgit-62a4417b574ce5120882016fd7803b9bccf68a67.tar.gz
Merge branch 'jc/topo'
* jc/topo: topo-order: make --date-order optional.
Diffstat (limited to 'commit.h')
-rw-r--r--commit.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/commit.h b/commit.h
index 986b22de8a..70a7c75e65 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 */