Skip to content

Commit

Permalink
Use additional tracking options for more accurate blaming
Browse files Browse the repository at this point in the history
  • Loading branch information
mmozuras committed Sep 10, 2014
1 parent 16e68af commit 6b09caa
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/pronto/rugged/diff/line.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6b09caa

Please sign in to comment.