Johannes Schindelin <[email protected]> writes:
> 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 --amend
But I think it could be a good addition to porcelain.
(interpret-trailers still feels hard to drive by a script...)
--
Christian Neukirchen <[email protected]> http://chneukirchen.org
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html