Closed yazug closed 7 years ago
filename or sting parameter would satisfy my current needs
I can see this being very useful for interactive usage of rdopkg when patching so I don't have to flip to git commit --amend but the main driver is automation where we have context information we want to inject into the commit message around the changeset coming in.
Slightly related to #92
someone suggested possible alt naming
--commitmsg-header
--commit-title
sounds most intuitive to me
idea for a tweak to "rdopkg amend" is for an option that could take a file or a string and use that as the header for the reformatted commit message
$ cat commit-msg-header this implement foo-change
details for this work in general $
$ rdopkg amend --commit-preheader-file commit-msg-header
$ git log -n1 this implement foo-change
details for this work in general
Resolves: rhbz#foo
Changelog: