Signed-off-by: Timo Hirvonen <tihirvon@xxxxxxxxx> --- builtin-log.c | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/builtin-log.c b/builtin-log.c index 5b3fadc..8a39770 100644 --- a/builtin-log.c +++ b/builtin-log.c @@ -28,6 +28,15 @@ static int cmd_log_wc(int argc, const ch rev->always_show_header = 0; } + if (!rev->diffopt.output_format && !rev->simplify_history) { + /* Ugly hack! + * + * rev->simplify_history == 0 -> whatchanged + * Can't do this before setup_revisions() + */ + rev->diffopt.output_format = DIFF_FORMAT_RAW; + } + if (argc > 1) die("unrecognized argument: %s", argv[1]); -- 1.4.1.rc1.g6e272-dirty - : send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html