pretty: enable --expand-tabs by default for selected pretty formats
[gitweb.git] / builtin / log.c
index e00cea75cca8bbde28ba45359c28b5a13a1b75e7..e5775ae4d18ecc21baac79490a7ae1c5341eb8df 100644 (file)
@@ -1281,6 +1281,7 @@ int cmd_format_patch(int argc, const char **argv, const char *prefix)
        git_config(git_format_config, NULL);
        init_revisions(&rev, prefix);
        rev.commit_format = CMIT_FMT_EMAIL;
+       rev.expand_tabs_in_log_default = 0;
        rev.verbose_header = 1;
        rev.diff = 1;
        rev.max_parents = 1;