[go: up one dir, main page]

Skip to content

Support for Co-Authored-By in Commit Body to Display Co-Committers

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

Proposal

While GitLab currently recognizes co-authors in the commit body and displays the avatar and a link to the profile, it does not display co-authors on the commit interface. That means that users have to expand the commit body to be aware that an co-author was involved. This feature is supported on GitHub, where contributors listed in the Co-Authored-By section are shown as co-authors of the commit. Implementing this functionality in GitLab would enhance collaboration transparency and give proper credit to all contributors.

The requested feature would:

  • Parse the Co-Authored-By trailer in commit messages.
  • Display co-authors in the commit details view.
    • display name
    • display combination of both user icons
  • Enhance the user interface for better collaboration recognition.

Example from Github

image

Possible visual representation for Gitlab

image In this example only the user names are combined but not the icons (s. Github Example)

Related Issues

gitlab-foss#31640 (closed)

Edited by 🤖 GitLab Bot 🤖