pretty: expand tabs in indented logs to make things line up properly
[gitweb.git] / revision.c
index df56fcea0e12a11a35414fc5e1c14d1675436671..e662230ff1f08f4f5a8b233fa45d808b0c22289b 100644 (file)
@@ -1915,6 +1915,8 @@ static int handle_revision_opt(struct rev_info *revs, int argc, const char **arg
                revs->verbose_header = 1;
                revs->pretty_given = 1;
                get_commit_format(arg+9, revs);
+       } else if (!strcmp(arg, "--expand-tabs")) {
+               revs->expand_tabs_in_log = 1;
        } else if (!strcmp(arg, "--show-notes") || !strcmp(arg, "--notes")) {
                revs->show_notes = 1;
                revs->show_notes_given = 1;