Commit 79a10fbf authored by Gaurav Agrawal's avatar Gaurav Agrawal 🌳 Committed by Alberto Fanjul

Detect links in commit messages

Parse subject and body for a commit message and convert urls into links.

It is possible to read custom links config from ./git/config ini file:

example to parse issues and merge request for gitlab:

```
[gitg.custom-link "issues"]
   regexp=!([0-9]+)
   replacement=https://gitlab.gnome.org/GNOME/gitg/merge_requests/\1
   color = orange
[gitg.custom-link "merge.request"]
   regexp=#([0-9]+)
   replacement=https://gitlab.gnome.org/GNOME/gitg/merge_requests/\1
   color = green
```
parent cfb68e16
Pipeline #83602 passed with stages
in 9 minutes and 10 seconds