Commit Graph

66 Commits

Author SHA1 Message Date
Tim Pope
e57ed3b6be Replace FugitiveRoute() with FugitiveFind() 2018-11-16 17:35:00 -05:00
Nino Annighofer
42072cc349 Escape hash-mark in Gbrowse URL
This won't break line-highlighting as discussed here:
https://github.com/tpope/vim-rhubarb/pull/20#issuecomment-366482507
2018-10-31 14:28:00 -04:00
Teo Ljungberg
3a9ddb8ffa Treat files generated by hub(1) as gitcommits
- `.git/PULLREQ_EDITMSG` is generated by `hub pull-request`.
- `.git/ISSUE_EDITMSG` is generated by `hub issue create`.
- `.git/RELEASE_EDITMSG` is generated by `hub release create`.
2018-09-20 14:39:25 -04:00
Tim Pope
b6cbbb0ad3 Use camel case for public functions 2018-08-22 18:39:08 -04:00
Tim Pope
70b9cfc749 Leverage another API for getting common dir 2018-08-19 16:56:43 -04:00
Tim Pope
6c529de83c Don't error on omnicomplete in non-GitHub repository
Closes https://github.com/tpope/vim-rhubarb/issues/30
2018-08-06 11:05:37 -04:00
Tim Pope
322dd5e05f Make config file check more robust 2018-07-28 21:14:17 -04:00
Tim Pope
8a4ced4f00 Swap in alternative API 2018-07-22 17:10:02 -04:00
Tim Pope
848841083d Ask Fugitive directly for the remote URL 2018-07-21 17:46:31 -04:00
Tim Pope
186bf27e05 Remove dependency on repo in :Gbrowse 2018-07-19 00:43:15 -04:00
Tim Pope
3f10dff8cf Ignore Fugitive browse requests without commits
This should never happen.
2018-06-25 18:21:57 -04:00
Tim Pope
658f51d366 Don't try to resolve tracked branch
Fugitive does this for us.
2018-06-25 18:08:27 -04:00
Tim Pope
135aeb6b5f Tighten loose regexp 2018-06-25 17:27:42 -04:00
Tim Pope
7e835bb967 Add :Gbrowse to documentation 2018-06-02 18:12:52 -04:00
Tim Pope
ecefe85ac5 Fix linting issue 2018-05-29 19:11:38 -04:00
Tim Pope
6caad2b61a Fix throw in issues completion
Closes https://github.com/tpope/vim-rhubarb/issues/23
2017-06-28 16:08:11 -04:00
Tim Pope
f7c4a493e6 Use completion base text for issue search 2017-06-07 22:19:51 -04:00
Tim Pope
4c1fcb5d16 More versatile API URL generation 2017-06-07 19:11:37 -04:00
Tim Pope
5b883e14ff Use native json support when available 2017-06-07 18:50:58 -04:00
Tim Pope
feac2474db Remove reference to transitional :Gbrowse support 2017-05-23 18:01:41 -04:00
Tim Pope
9792526427 Update instructions for API access 2017-05-23 15:05:37 -04:00
Tim Pope
925dec7ee7 Restore "hub" support using g:fugitive_git_command 2017-05-23 14:47:17 -04:00
Lucas Caton
563daee79a Replace OS X with macOS in README 2017-05-08 11:28:49 -04:00
Dominic Monroe
9032c184f8 Add ssh://git@ to origin url base (#16) 2017-04-10 13:21:55 -04:00
Nate Jones
0c12c7ed7c Find proper config when running in worktree (#14)
Check if in worktree (by checking for a 'commondir' file) and using that
to find the parent config.  Otherwise just use the config in .git.

closes #13
2016-06-17 15:19:42 -04:00
Justin M. Keyes
8620dc1277 curl: win32: Also try ~/.netrc
Closes https://github.com/tpope/vim-rhubarb/issues/11
2016-01-08 14:28:42 -05:00
Tim Pope
715789e554 Update for forthcoming :Gbrowse handler changes 2015-12-26 14:41:51 -05:00
Tim Pope
776689794c Actually drop hub support
References https://github.com/tpope/vim-rhubarb/issues/9
2015-12-08 12:28:54 -05:00
Tim Pope
c175c71850 Drop hub support due to lack of --exec-path
Closes https://github.com/tpope/vim-rhubarb/issues/9
2015-12-07 01:36:37 -05:00
Tim Pope
5e4f174d82 Experiment: Always use SHA in :Gbrowse
I've been holding out on this forever because links to the latest are
occasionally useful, but more often than not, a permanent link to the
file as it currently stands is most useful.  At any rate, it shouldn't
be Rhubarb's job to parse out the branch name.
2015-12-01 19:05:00 -05:00
Tim Pope
c6c6f4bbf3 Future proofing 2015-12-01 19:03:49 -05:00
Tim Pope
ba6057c101 Tighten handling of refs in :Gbrowse 2015-12-01 18:55:13 -05:00
Tim Pope
ade3d07374 Fix mis-paste 2015-12-01 17:10:42 -05:00
Tim Pope
7ce3d67750 Fix :Gbrowse
Closes #8
2015-12-01 14:59:08 -05:00
Tim Pope
6d75255999 Open release page for tags on GitHub 2015-12-01 04:24:44 -05:00
Tim Pope
28c489579f Add another guard to :Gbrowse support
Now that I've actually had time to assess things, it's clear this
parameter is only used as a way to convey the branch name and makes zero
sense.  So, it's going to get dropped sooner or later.
2015-12-01 03:34:10 -05:00
Tim Pope
bcddf0951e Document use of hub executable 2015-11-30 22:31:56 -05:00
Tim Pope
540b2b6c4b Support for :Gbrowse 2015-11-30 22:12:06 -05:00
Tim Pope
d7801e77ca Set omnifunc in GitHub Enterprise repositories 2015-11-30 21:53:19 -05:00
Tim Pope
cde64b17ca Extract autoload file 2015-11-30 20:52:24 -05:00
Tim Pope
35cc8afbba Support custom headers 2015-11-30 20:32:43 -05:00
Tim Pope
9efd827089 Switch to https URL 2015-11-30 20:32:43 -05:00
Tim Pope
2efe193ddb Better error reporting 2015-08-02 18:34:10 -04:00
Tim Pope
c28b28f7f6 Document use of personal access token
Closes https://github.com/tpope/vim-rhubarb/issues/2.
2015-08-02 18:16:15 -04:00
Tim Pope
b4a939b78c Support for GitHub enterprise
Completely untested.
2015-08-02 16:55:14 -04:00
Tim Pope
a2449c446c Deprecate all credential config except netrc
The other methods are only capable of supporting a single domain, ruling
out the possibility of supporting GitHub Enterprise.
2015-08-02 16:47:21 -04:00
Tim Pope
aed724d901 Add helptags generation to installation instructions 2015-08-02 16:11:52 -04:00
Tim Pope
0e8ad2abdf Support completion of issue URL
You can still complete the issue number only by typing a "#" beforehand.
2015-08-02 15:42:32 -04:00
Tim Pope
3b4c1ae342 Add missing aborts 2014-07-18 17:48:43 -04:00
Bruno Sutic
3772a98b3a Update omnicomplete autocmd checks
- drops file type constraint
- update file name checks to match COMMIT_EDITMSG, PULLREQ_EDITMSG,
  MERGE_MSG, SQUASH_MSG and TAG_EDITMSG

Closes #5
2014-07-18 17:44:25 -04:00