summaryrefslogtreecommitdiff
path: root/wt-status.c
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2008-10-26 00:50:02 -0400
committerJunio C Hamano <gitster@pobox.com>2008-10-26 14:09:48 -0700
commita79b8b6623288f7d5409ad749cc6553976a4f0e8 (patch)
treee832f50094e91ae29c39a9178a34667a87fe92c5 /wt-status.c
parent4f672ad6c77bfe73cc5dd4b240fd42303d101d2a (diff)
downloadgit-a79b8b6623288f7d5409ad749cc6553976a4f0e8.tar.gz
enable textconv for diff in verbose status/commit
This diff is meant for human consumption, so it makes sense to apply text conversion here, as we would for the regular diff porcelain. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'wt-status.c')
-rw-r--r--wt-status.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/wt-status.c b/wt-status.c
index 54d2f58693..6a7645ed86 100644
--- a/wt-status.c
+++ b/wt-status.c
@@ -301,6 +301,7 @@ static void wt_status_print_verbose(struct wt_status *s)
setup_revisions(0, NULL, &rev, s->reference);
rev.diffopt.output_format |= DIFF_FORMAT_PATCH;
rev.diffopt.detect_rename = 1;
+ DIFF_OPT_SET(&rev.diffopt, ALLOW_TEXTCONV);
rev.diffopt.file = s->fp;
rev.diffopt.close_file = 0;
/*