feature: supports the commit hash issue tracker (#382)

Using issue tracker instead of built-in supported commit web link is based on the following reasons

* repo may have multiple remotes
* it is not good to open an context menu to choose which web to visit with multiple remotes
* some remote servers are not supported by this app
This commit is contained in:
leo 2024-08-21 10:44:07 +08:00
parent 7b26589485
commit 48adad53b4
No known key found for this signature in database
6 changed files with 22 additions and 0 deletions

View file

@ -102,6 +102,11 @@ namespace SourceGit.ViewModels
SelectedCommitTemplate = null;
}
public void AddSampleCommitLinkTracker()
{
SelectedIssueTrackerRule = _repo.Settings.AddCommitLinkIssueTracker();
}
public void AddSampleGithubIssueTracker()
{
foreach (var remote in _repo.Remotes)