[go: up one dir, main page]

Skip to content

Misleading message when committing to stable branches

Moving this from a downstream bug report: https://bugzilla.gnome.org/show_bug.cgi?id=796395

When committing to the master branch, I get a clean response:

> [evolutionews]$ git push
> Counting objects: 6, done.
> Delta compression using up to 8 threads.
> Compressing objects: 100% (6/6), done.
> Writing objects: 100% (6/6), 855 bytes | 855.00 KiB/s, done.
> Total 6 (delta 5), reused 0 (delta 0)
> To gitlab.gnome.org:GNOME/evolution-ews.git
>    47cc16f4..4b879e48  master -> master

but when I commit into the stable branch, in this case origin/gnome-3.28:

> [evolutionews]$ git push
> Counting objects: 6, done.
> Delta compression using up to 8 threads.
> Compressing objects: 100% (6/6), done.
> Writing objects: 100% (6/6), 861 bytes | 861.00 KiB/s, done.
> Total 6 (delta 5), reused 0 (delta 0)
> remote: 
> remote: To create a merge request for gnome-3-28, visit:
> remote:   https://gitlab.gnome.org/GNOME/evolution-ews/merge_requests/new?merge_request%5Bsource_branch%5D=gnome-3-28
> remote: 
> To gitlab.gnome.org:GNOME/evolution-ews.git
>    a24562f6..d4eb2b06  gnome-3-28 -> gnome-3-28

That "remote" message is misleading, the merge request is a nonsense, because the commit just landed into the place it suggests me to do the merge request for. I do not know what logic is behind that message, but it requires to be updated. At least from my point of view.