Open samsamoa opened 1 year ago
I tried adding a custom command, but so far haven't figured out the correct syntax
[
{
"caption": "Blame --first-parent",
"command": "blame",
"args": {"argv": ["--first-parent"]}
}
]
tried adding a custom command
The blame
command is internal to Sublime Merge & is not calling git
itself (as far as I know). I'm unaware of any options for that command.
Problem description
Would it be possible to add
--first-parent
as an option for Blame? This option allowsgit blame
to show only merge commits, which are often more useful than the actual commit where the line was changed (e.g. for pull request merges).Preferred solution
Option is added to preferences that enables
--first-parent
by default.Alternatives
First-parent is added as an option when Blame is selected.