Allow to disable the "xxx commits behind master" information in forked repositories
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
Summary
Recently, gitlab shows a
Forked from mirror / ...
1085 commits behind the upstream repository.
like information for forked repositories and sometimes there is an "update-fork" button.
This is confusing and can be dangerous:
-
we nearly almost use versioned branches as base for the fork (e.g. linux kernel version v6.1) while base repository has
masteras default branch. The information, how many commits we are behind or ahead the upstream repository is not meaningful in this case and confuses only -
we definitively do not want the "update-fork" functionality in the situation above. But "update-fork" works even on protected branches and does not ask for confirmation either. This is dangerous because it changes the code silently.
Please add an option to disable this box.
Screenshots
---> "Update fork" button exists plus completely meaningless information about ahead/behind
---> but same branch is protected and user is not allowed to push into it

