I’m trying to add a custom commit menu that can copy a oneline log from a commit. My first idea was to use the git command with argv but then I thought there might be an existing variable for $commit_subject. I don’t see one in the Default package.
Does anyone know of such a variable?
Here is what I’d like to have
[
{
"caption" : "Log Oneline",
"command" : "copy_to_clipboard",
"args" : {
"text": "($short_commit) $commit_subject"
},
}
]