diff options
author | Tobias Bieniek <Tobias.Bieniek@gmx.de> | 2012-10-13 23:10:30 (JST) |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2012-10-17 23:30:29 (JST) |
commit | 792f813d342013124ce40142fef4afee3ff00df3 (patch) | |
tree | 9d42fff81b16cba44c8c765f2866cc79ddb507cd /ui-log.h | |
parent | 7a4e7c8ffbacfad5ac83ad20426d7911c2eacdeb (diff) | |
download | cgit-792f813d342013124ce40142fef4afee3ff00df3.zip cgit-792f813d342013124ce40142fef4afee3ff00df3.tar.gz |
ui-log: Add "commit-sort" option for controlling commit ordering
This makes it possible to use strict commit date ordering or strict
topological ordering by passing the corresponding flags to "git log".
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'ui-log.h')
-rw-r--r-- | ui-log.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -3,7 +3,7 @@ | |||
3 | 3 | ||
4 | extern void cgit_print_log(const char *tip, int ofs, int cnt, char *grep, | 4 | extern void cgit_print_log(const char *tip, int ofs, int cnt, char *grep, |
5 | char *pattern, char *path, int pager, | 5 | char *pattern, char *path, int pager, |
6 | int commit_graph); | 6 | int commit_graph, int commit_sort); |
7 | extern void show_commit_decorations(struct commit *commit); | 7 | extern void show_commit_decorations(struct commit *commit); |
8 | 8 | ||
9 | #endif /* UI_LOG_H */ | 9 | #endif /* UI_LOG_H */ |