You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have only one remote, named 'gerrit' which points to my Gerrit code review git repo. We also have a cgit connected to this which provides an HTTP interface to the repo. I utilized the custom url in settings: 'https:///cgit.cgi/<%-repo%>/gerrit.git/commit/?id=<%-revision%>' (nifty feature by the way). When I now click on a commit after bringing up the git blame, it gives me 'Uncaught TypeError: Cannot call method 'match' of null' in '/home/alexo/.atom/packages/git-blame/lib/util/RemoteRevision.js:65'.
I tried changing the name on my remote to 'origin', where it worked fine (and correctly opened my browser to the specified commit).
The text was updated successfully, but these errors were encountered:
Short term I will add this setting in the next day or two.
I have another question though...would this be across ALL your projects? Do you always have your main remote named 'gerrit'? Or is this only for a project here or there.
Long run I'm thinking this should be project specific. Having a discussion on how best to make this possible in #18 potentially using git config or git-blame for atom config that is checked into the project. Thoughts?
The remote is not always named gerrit. There is also times where I have multiple remotes for the same project. Perhaps a way to specify which remote I want to use for blame? (In my case they are very often mirrors and blame would show same result regardless of which remote it used).
I have only one remote, named 'gerrit' which points to my Gerrit code review git repo. We also have a cgit connected to this which provides an HTTP interface to the repo. I utilized the custom url in settings: 'https:///cgit.cgi/<%-repo%>/gerrit.git/commit/?id=<%-revision%>' (nifty feature by the way). When I now click on a commit after bringing up the git blame, it gives me 'Uncaught TypeError: Cannot call method 'match' of null' in '/home/alexo/.atom/packages/git-blame/lib/util/RemoteRevision.js:65'.
I tried changing the name on my remote to 'origin', where it worked fine (and correctly opened my browser to the specified commit).
The text was updated successfully, but these errors were encountered: