Re: Non-interactively rewording commit messages
- From
Konstantin Ryabitsev <konstantin@linuxfoundation.org>
- Date
- Jul 1, 2022, 18:18 UTC
- Message-ID
- <20220701181833.yf3wmg2k3vyk4v6n@nitro.local>
- In-Reply-To
- <CABPp-BHX5H1co+cMS2LEt=NYB5==5e4YK_sK=h_O1-zxaNocAA@mail.gmail.com>
On Thu, Jun 30, 2022 at 09:01:33PM -0700, Elijah Newren wrote:
Show 6 quoted lines
> One possibility would be to tweak > https://github.com/newren/git-filter-repo/blob/main/contrib/filter-repo-demos/signed-off-by, > modifying the line setting the 'trailer' variable to make it be a > Reviewed-by rather than a Signed-off-by. You could tweak the script > to also make other automated commit message changes unrelated to any > trailers, if you wanted.
Oh, this is neat, I was unaware of git-filter-repo. It looks like exactly what I need for my purposes -- maybe I can just use it as a subproject. Thanks for the suggestion!
-K