Tentative built-in "git show"
[gitweb.git] / log-tree.h
index da166c6f2c7b3a0fae80fbe63c8cde38eb609054..8d8f6f14589fed87a8e77455a7eb4ef814f2d40b 100644 (file)
@@ -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,15 @@ 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;
+       int abbrev;
+       int abbrev_commit;
+       int do_diff;
+       int full_diff;
+};
+
+int parse_whatchanged_opt(int, const char **, struct whatchanged_opt *);
+
 #endif