summaryrefslogtreecommitdiff
path: root/log-tree.h
diff options
context:
space:
mode:
Diffstat (limited to 'log-tree.h')
-rw-r--r--log-tree.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/log-tree.h b/log-tree.h
index da166c6f2c..50cbfb3012 100644
--- a/log-tree.h
+++ b/log-tree.h
@@ -1,6 +1,8 @@
#ifndef LOG_TREE_H
#define LOG_TREE_H
+#include "revision.h"
+
struct log_tree_opt {
struct diff_options diffopt;
int show_root_diff;
@@ -20,4 +22,16 @@ int log_tree_diff_flush(struct log_tree_opt *);
int log_tree_commit(struct log_tree_opt *, struct commit *);
int log_tree_opt_parse(struct log_tree_opt *, const char **, int);
+struct whatchanged_opt {
+ struct rev_info revopt;
+ struct log_tree_opt logopt;
+ enum cmit_fmt commit_format;
+ int abbrev;
+ int abbrev_commit;
+ int do_diff;
+ int full_diff;
+};
+
+int parse_whatchanged_opt(int, const char **, struct whatchanged_opt *);
+
#endif