pretty: enable --expand-tabs by default for selected pretty formats
[gitweb.git] / revision.h
index 40797535fa71d15dca7602cc850cc46218c6df1f..6cc36b49c59cc2265040eaa033e4f0e5c607ea48 100644 (file)
@@ -133,7 +133,6 @@ struct rev_info {
                        show_notes_given:1,
                        show_signature:1,
                        pretty_given:1,
-                       expand_tabs_in_log:1,
                        abbrev_commit:1,
                        abbrev_commit_given:1,
                        zero_commit:1,
@@ -149,6 +148,8 @@ struct rev_info {
                        linear:1;
 
        struct date_mode date_mode;
+       int             expand_tabs_in_log; /* unset if negative */
+       int             expand_tabs_in_log_default;
 
        unsigned int    abbrev;
        enum cmit_fmt   commit_format;