Re: [PATCH 1/4] rebase -i: add ack action
- From
Christian Neukirchen <chneukirchen@gmail.com>
- Date
- Apr 11, 2016, 12:05 UTC
- Message-ID
- <87lh4kic49.fsf@gmail.com>
- In-Reply-To
- <alpine.DEB.2.20.1604111239100.2967@virtualbox>
Johannes Schindelin <Johannes.Schindelin@gmx.de> writes:
Show 6 quoted lines
> How about making it easier to use, and much, much more generic, like this? > > 1. introducing an `--add-footer` flag to `git commit` that you could use > like this: > > git commit --amend --add-footer "Acked-by: Bugs Bunny"
I have a script where I currently do this ala:
GIT_EDITOR="git -c trailer.closes.ifExists=replace interpret-trailers \
--trailer 'Closes: #$PR [via git-merge-pr]' --in-place" \
git commit --quiet --amendBut I think it could be a good addition to porcelain. (interpret-trailers still feels hard to drive by a script...)
-- Christian Neukirchen <chneukirchen@gmail.com> http://chneukirchen.org