Skip to content

Commit

Permalink
Revision Links: Detect GH issues without #
Browse files Browse the repository at this point in the history
especially in branch names, e.g.
feature/98765
feat-98765
fix/98765
fix_98765
  • Loading branch information
mstv committed Nov 21, 2018
1 parent 0a48337 commit 0e479d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion GitExtensions.settings
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@
<RevisionPart>LocalBranches</RevisionPart>
<RevisionPart>RemoteBranches</RevisionPart>
</SearchInParts>
<SearchPattern>(?i)(?<!pull request |pr[ _]?)#\d+</SearchPattern>
<SearchPattern>(?i)(?<!pull request |pr[ _]?)(#|(((feat(ure)?)|fix)[/_-]))\d+</SearchPattern>
<UseOnlyFirstRemote>false</UseOnlyFirstRemote>
</GitExtLinkDef>
<GitExtLinkDef>
Expand Down

0 comments on commit 0e479d7

Please sign in to comment.