git_ui: Fix double slash in commit URLs (#44996)

Release Notes:

- Fixed double slash in commit URLs

The github_url variable was generating URLs with an extra slash like
"https://github.com//user/repo/commit/xxxx" due to manual string
formatting
of the base_url() result.

Fixed by replacing manual URL construction with the proper
build_commit_permalink() method that uses Url::join() for correct
path handling, consistent with how other Git hosting providers
construct URLs.

Signed-off-by: Xiaobo Liu <cppcoffee@gmail.com>
4573a59777Xiaobo Liu committed on 12/16/2025, 3:37:03 PM· committed by GitHubparent7ba6f39
1 file changedLine totals unavailable