commit: helper methods to reduce redundant blocks of code
[gitweb.git] / builtin / log.c
index 22d12903ac06597979f30d0fd94267fc543afa29..90e05aca9dc0f980f13b8beaf3865cb86c5669a8 100644 (file)
@@ -329,8 +329,7 @@ static void show_tagger(char *buf, int len, struct rev_info *rev)
        struct strbuf out = STRBUF_INIT;
 
        pp_user_info("Tagger", rev->commit_format, &out, buf, rev->date_mode,
-               git_log_output_encoding ?
-               git_log_output_encoding: git_commit_encoding);
+               get_log_output_encoding());
        printf("%s", out.buf);
        strbuf_release(&out);
 }