Hyperlink #123 to the respective issue/ticket#214
Hyperlink #123 to the respective issue/ticket#214muhqu wants to merge 6 commits intorowanj:masterfrom
#123 to the respective issue/ticket#214Conversation
…icketurl ``` [gitx] ticketurl = "http://example.org/ticket/*" ```
|
Thanks! I'll look at merging this soon. Just some notes for myself when I look at this:
|
|
I don't think the pattern needs to be configurable, but the pattern should be dead simple. I know replacing Auto-detection for GitHub pattern would be great. But I think it should be sufficient to just check the remote named "origin". A preference option doesn't make much sense here, as it is a per-repository setting. Does GitX already allow to modify git-config settings? If no |
|
The preference can be stored/read from the repository (i.e. non-global |
…u which shows a help message on how to configure gitx.ticketurl.
and.. - moved logic away from javascript - added a "Copy URL" context menu item
|
@rowanj I added a custom view |
MGScopeBar on upstream master
Adding this pull request in response to Issue #187.
I added this a very long time ago to another fork of GitX. Now I rebased this commit onto GitX-dev master.
Here is how it works, just add
gitx.ticketurlto your repositorys.git/config.To point to github issues just use:
ToDo:
{id}or just append#123links, if not configured show message how to do it[PBGitHistoryController showConfigureGitxTicketUrl]to not only show a hint, instead let the user configure the Ticket URL right away...