forgot to cc guix-devel, resending On November 7, 2026 8:44:57 PM UTC, "Ludovic Courtès" <[email protected]> wrote: >Hi! > >I have this in ~/.gitconfig: > >--8<---------------cut here---------------start------------->8--- >[alias] > merge-pull-request="!m() { set -o pipefail; set -e; for id in $(git > cherry HEAD pulls/pr/$1 | cut -c2-); do git cherry-pick --signoff $id; done; > git commit --amend --no-edit --trailer 'Merges: #'$1; }; m" >--8<---------------cut here---------------end--------------->8--- > >Thus, when I do ‘git merge-pull-request 123’, it automatically adds >“Merges: #123” as a trailer on the last commit.
Thanks this will come in handy for single pr merges. But how will it handle the scenario I mentioned in my original mail? >I think we should agree on committers taking care of adding the trailer >via a tool along these lines. well yes, if there can be tools for these I don't have any problems :)
