-
|
Currently, to open a commit from a blame I take advantage of how However, is it possible to skip opening the commit? Sometimes our commits are huge and slow to open (binary files and bad merges, I can't prevent it). If I could Even worse, I actually always use Is there some way to get the filename for the current blame buffer? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
|
git blame -L 42,42 path/to/file |
Beta Was this translation helpful? Give feedback.
-
|
If you call |
Beta Was this translation helpful? Give feedback.
If you call
FugitiveResult(bufnr(''))in the blame buffer, you'll get back a dictionary that contains among other thingsblame_file. This is the originally blamed file and doesn't account for rename detection.