Read smart commits info from git config
smart commit info is readed from .git/config as a key file.
https://gitlab.gnome.org/GNOME/gitg/-/blob/master/libgitg/gitg-diff-view.vala#L136
That ignores any global config
[gitg.custom-link "issues"]
regexp="#([0-9]+)"
replacement=https://gitlab.gnome.org/GNOME/gitg/issues/\\1
color = orange
[gitg.custom-link "merge.request"]
regexp=!([0-9]+)
replacement=https://gitlab.gnome.org/GNOME/gitg/merge_requests/\\1
color = green
and creates an invalid parsing as # is a comment char (so really needs to be escaped)
Edited by Ghost User