From 6b09caa7ed6140e871118260a1af5135feedb073 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mindaugas=20Moz=C5=ABras?= Date: Sun, 27 Jul 2014 22:34:14 +0300 Subject: [PATCH] Use additional tracking options for more accurate blaming --- lib/pronto/rugged/diff/line.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/pronto/rugged/diff/line.rb b/lib/pronto/rugged/diff/line.rb index 90b505b9..8b139c8b 100644 --- a/lib/pronto/rugged/diff/line.rb +++ b/lib/pronto/rugged/diff/line.rb @@ -52,7 +52,9 @@ def repo def blame @blame ||= Blame.new(repo, patch.delta.new_file[:path], - min_line: new_lineno, max_line: new_lineno)[0] + min_line: new_lineno, max_line: new_lineno, + track_copies_same_file: true, + track_copies_any_commit_copies: true)[0] end end end