Skip to content

Make it easy to go to later versions of the file

Description

Currently when you are looking at the file at a particular commit (example) there is no really easy way to go to the latest version of the file. You might know that the latest version is in the master (or some other) branch, but maybe in the master branch the file was already deleted (which would be addressed by gitlab-ce#45861). There are direct links to parent commits, but nothing exist for children commits. So similarly it is hard to find simply later versions of the file.

Proposal

Alongside current list of parent commits I would propose that GitLab also lists children commits, in which followup commits this file changed. And maybe a link to the latest (in some definition of latest, or maybe just newest on main branch, or branch in which the commit is) version of the file.

I know that this is not what git makes readily available, but this would be also why GitLab would be better to traverse git history than just git. And make it much more user friendly for non technical people who might not understand everything about branches and how to traverse commits back from the branch, or edit URLs directly.

Edited by Mitar