On Sat, 23 Aug 2025 at 16:55:48 +0200, Marc Haber wrote:
On Mon, Aug 18, 2025 at 09:47:03AM +0100, Simon McVittie wrote:If you have a configuration in .git/config like this:[remote "origin"] url = https://salsa.debian.org/utopia-team/dbus.git fetch = +refs/heads/*:refs/remotes/origin/* [remote "merge-requests"] url = https://salsa.debian.org/utopia-team/dbus.git fetch = +refs/merge-requests/*/head:refs/remotes/merge-requests/* tagopt = --no-tagsthen the usual `git remote update` will fetch every MR for your inspection.Even the ones that are opened from a differnet repository?
Yes, what matters is which repository the merge request belongs to - and when a contributor opens a MR for a branch in a fork, the MR gets created in the original repository that they forked from.
For example https://salsa.debian.org/debian-desktop-team/desktop-base/-/merge_requests/7 was a request to merge a branch from my fork `smcv/desktop-base-temp`, but you can still fetch it from `debian-desktop-team/desktop-base` as `refs/remotes/merge-requests/7`(and I think that would remain true even if I deleted the branch from my fork).
smcv