-
Notifications
You must be signed in to change notification settings - Fork 205
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hyperlink #123
to the respective issue/ticket
#214
base: master
Are you sure you want to change the base?
Conversation
…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.ticketurl
to your repositorys.git/config
.To point to github issues just use:
ToDo:
{id}
or just append#123
links, 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...