Skip to content

Show merge commit label on commit page - #8339

Open
dallasnetprofu02-design wants to merge 3 commits into
gogs:mainfrom
dallasnetprofu02-design:issuehunt/2696-merge-commit-label
Open

dallasnetprofu02-design wants to merge 3 commits into
gogs:mainfrom
dallasnetprofu02-design:issuehunt/2696-merge-commit-label

Conversation

@dallasnetprofu02-design

Copy link
Copy Markdown

Closes #2696

This reintroduces the merge-commit signal on the current single-commit page without reviving the old handler/template path from #8261.

Changes:

  • detect merge commits from the active route data when a commit has more than one parent
  • show a compact Merge commit badge next to the commit subject
  • add the new label to conf/locale/locale_en-US.ini

Checks:

  • pnpm --dir web run build
  • pnpm --dir web run lint
  • git diff --check

IssueHunt: https://issuehunt.io/repos/16752620/issues/2696

@unknwon

unknwon commented Jun 9, 2026

Copy link
Copy Markdown
Member

Thanks for the PR, can you follow the PR template and show a scereenshot?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Show if a commit is a merge in the commit view

2 participants