Skip to content

Commit

Permalink
Github links
Browse files Browse the repository at this point in the history
  • Loading branch information
jbialobr committed Jul 12, 2013
1 parent e14e900 commit abe1cd9
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
build
*.orig
GitExtensions.settings.backup
45 changes: 45 additions & 0 deletions GitExtensions.settings
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
<?xml version="1.0" encoding="utf-8"?>
<dictionary>
<item>
<key>
<string>RevisionLinkDefs</string>
</key>
<value>
<string>&lt;?xml version="1.0" encoding="utf-16"?&gt;
&lt;ArrayOfGitExtLinkDef xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"&gt;
&lt;GitExtLinkDef&gt;
&lt;SearchInParts&gt;
&lt;RevisionPart&gt;Message&lt;/RevisionPart&gt;
&lt;RevisionPart&gt;LocalBranches&lt;/RevisionPart&gt;
&lt;RevisionPart&gt;RemoteBranches&lt;/RevisionPart&gt;
&lt;/SearchInParts&gt;
&lt;LinkFormats&gt;
&lt;GitExtLinkFormat&gt;
&lt;Caption&gt;Issue {0}&lt;/Caption&gt;
&lt;Format&gt;https://github.com/gitextensions/gitextensionsdoc/issues/{0}&lt;/Format&gt;
&lt;/GitExtLinkFormat&gt;
&lt;/LinkFormats&gt;
&lt;Name&gt;GitHub - issues&lt;/Name&gt;
&lt;SearchPattern&gt;(\s*(,|and)?\s*#\d+)+&lt;/SearchPattern&gt;
&lt;NestedSearchPattern&gt;(\d+)+&lt;/NestedSearchPattern&gt;
&lt;Enabled&gt;true&lt;/Enabled&gt;
&lt;/GitExtLinkDef&gt;
&lt;GitExtLinkDef&gt;
&lt;SearchInParts&gt;
&lt;RevisionPart&gt;Message&lt;/RevisionPart&gt;
&lt;/SearchInParts&gt;
&lt;LinkFormats&gt;
&lt;GitExtLinkFormat&gt;
&lt;Caption&gt;View on GitHub&lt;/Caption&gt;
&lt;Format&gt;https://github.com/gitextensions/gitextensionsdoc/commit/%COMMIT_HASH%&lt;/Format&gt;
&lt;/GitExtLinkFormat&gt;
&lt;/LinkFormats&gt;
&lt;Name&gt;GitHub - commit&lt;/Name&gt;
&lt;SearchPattern&gt;.*&lt;/SearchPattern&gt;
&lt;NestedSearchPattern /&gt;
&lt;Enabled&gt;true&lt;/Enabled&gt;
&lt;/GitExtLinkDef&gt;
&lt;/ArrayOfGitExtLinkDef&gt;</string>
</value>
</item>
</dictionary>

4 comments on commit abe1cd9

@rthorp
Copy link

@rthorp rthorp commented on abe1cd9 Jul 14, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did you commit this to the wrong repo? Not sure how this relates to documentation?

@jbialobr
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This file contains settings that are distributed with repository (gitextensions/gitextensions#1810). Added settings tell GitExt which lines of commit part (message, branch name) can be converted into clickable link (gitextensions/gitextensions#1582, gitextensions/gitextensions#1875)

@rthorp
Copy link

@rthorp rthorp commented on abe1cd9 Jul 15, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay, I see. This looks like a significant re-write of some of the settings pages. I see you also merged to master and not release/2.47. Is this because the change is for a 'future' release and it does not apply to 2.47? If so, I think we should raise a new Issue as a reminder that doco needs updating for this change (and reference the above code repo issues).

@jbialobr
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, will do.

Please sign in to comment.