summaryrefslogtreecommitdiff
path: root/src/blame.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/blame.c')
-rw-r--r--src/blame.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/blame.c b/src/blame.c
index a923bf003..d9b7d7a62 100644
--- a/src/blame.c
+++ b/src/blame.c
@@ -501,6 +501,7 @@ int git_blame_buffer(
}
/* Diff to the reference blob */
+ diffopts.flags |= GIT_DIFF_DISABLE_INDENT_HEURISTIC;
git_diff_blob_to_buffer(reference->final_blob, blame->path,
buffer, buffer_len, blame->path, &diffopts,
NULL, NULL, buffer_hunk_cb, buffer_line_cb, blame);