-
Notifications
You must be signed in to change notification settings - Fork 646
Closed
Description
git blame supports -L option with which we can supply a range of lines to blame, and git outputs the blame for only those lines. This comes in handy when invoking from within an editor, say Vim. For example, to view the blame from lines 2000 to 2020, I could say :!git blame -L2000,2020 -- %.
Two issues with tig:
tigdoes accept the same option. However,tigoutputs all lines in the file. This means, for the example above, even though I'm interested in the 20 lines towards the bottom,tigshows the whole file, and I've to scroll 2000 lines for the view I'm interested in. Any chance this can supported?- To
tig, I've to specify it as-L2000,2020; it seems to be confused if I say-L 2000,2020, with white space after-L.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels