Tim Pope
5496d7c945
Always return a list from rhubarb#Complete()
...
Resolves: https://github.com/tpope/vim-rhubarb/issues/84
2025-06-27 19:06:00 -04:00
Tim Pope
386daa2e9d
Add request is: constraint to issue search
...
Resolves: https://github.com/tpope/vim-rhubarb/issues/82
2025-01-16 01:00:30 -05:00
Tim Pope
b3bf811ba9
Remove old lowercase API
...
I don't think this was ever official, so no need to have a formal
deprecation cycle.
2023-03-29 07:38:22 -04:00
Tim Pope
cad60fe382
Fix display of omnicomplete server error message
2022-07-27 09:17:04 -04:00
Tim Pope
09b9b1ca86
Fix error reporting during omnicomplete
...
Resolves: https://github.com/tpope/vim-rhubarb/issues/70
2022-07-08 04:16:50 -04:00
Tim Pope
c815057f8e
Abstract check for .git/refs/ path
2022-06-29 22:24:47 -04:00
Tim Pope
dcff4d605c
Leverage complete_add()
...
I was moving in the direction of using an asynchronous callback before
deciding it didn't actually add much. But getting rid of that map()
string still feels like an improvement.
2022-06-15 16:38:00 -04:00
Tim Pope
f8b70f5ef3
Remove special case for empty response body
...
Not sure if this served a purpose, so let's find out.
2022-06-15 16:10:14 -04:00
Tim Pope
2f1a84f0d6
Support callback_args in request functions
2022-06-15 16:10:14 -04:00
Tim Pope
ab0d42bb31
Remove admin URL special case
...
This was cute, but not very useful, and could create confusion when used
on a repository without admin privileges.
2022-05-11 02:14:21 -04:00
Tim Pope
977b3ccbad
Use FugitiveExecute() to call curl if available
...
I'm not in love with this API, so intercept any "I changed my mind"
exception and fall back to system().
2021-09-13 15:45:42 -04:00
Tim Pope
a0fc3c94e9
Add export-ignore gitattributes
2021-09-13 15:45:42 -04:00
Tim Pope
82e71b150d
Allow dictionary to specify enterprise URLs
...
References: https://github.com/shumphrey/fugitive-gitlab.vim/issues/34
2021-08-31 07:52:37 -04:00
Tim Pope
240597394e
Provide simple callback API for requests
2021-08-26 07:15:08 -04:00
Tim Pope
75b8e01450
Tweak README to eliminate partially/partly inconsistency
2021-08-26 06:59:11 -04:00
Tim Pope
e4f7fb8a1b
MIT License
2021-08-24 16:07:58 -04:00
Tim Pope
e804fb67b7
Remove ancient guard against legacy 'commit' parameter
...
People often copy and paste this plugin as a starting point for their
own, so let's clean this up.
2021-08-21 14:14:25 -04:00
Tim Pope
6aaa229db8
Fix inclusion of trailing quote when parsing config file
...
This has no effect on the current behavior because we're only checking
for the presence of the URL, not actually using it. Still, this will
prevent a bug from creeping in if rhubarb#HomepageForUrl() ever gets
more strict.
2021-08-21 14:14:25 -04:00
Tim Pope
b4aad6dc43
Support ssh.github.com
...
Let's use this opportunity to throw out the old, contorted regexp
builder and start over.
Resolves: https://github.com/tpope/vim-rhubarb/issues/65
2021-07-16 01:03:07 -04:00
Tim Pope
2590324d7f
Drop use of User Fugitive autocommand
2021-04-15 15:59:13 -04:00
Tim Pope
b4081f0a88
Extract commit message setup function
2021-04-12 14:06:29 -04:00
Tim Pope
42e9ee3f95
Drop support for Fugitive older than 3.0
...
There was a bug here anyways in the use of b:git_dir instead of
l:git_dir.
2021-04-12 13:11:23 -04:00
Tim Pope
1c36bf8668
Sanity check line number fields
2021-04-04 20:46:51 -04:00
Tim Pope
71d5c3598e
Switch from FugitiveConfig() to FugitiveConfigGet()
2021-04-03 19:55:34 -04:00
Tim Pope
3d444b5b4f
Don't show v:null in preview window
2021-03-15 23:41:40 -04:00
Tim Pope
964d48fd11
Drop support for hub
...
You can still enable this manually with
let g:fugitive_git_command = 'hub'
But Fugitive will likely be dropping support for that in the future.
2021-02-11 16:19:12 -05:00
Tim Pope
af12af412d
Replace :Gbrowse with :GBrowse
2021-02-11 16:19:12 -05:00
Tim Pope
857865bdab
Allow opt-out of hub as git
...
Closes https://github.com/tpope/vim-rhubarb/issues/63
2020-11-29 08:28:53 -05:00
Tim Pope
0eaa213f01
Handle trailing slash in enterprise URL
2020-04-08 07:20:10 -04:00
Tim Pope
5130596a65
Use FugitiveConfig() to retrieve config vars
2019-11-12 18:54:46 -05:00
Tim Pope
d1f18371f5
Add sponsor button
2019-11-12 18:54:46 -05:00
Tim Pope
75ad917e49
Eliminate hard coded a:opts parameter
...
This is a bit preemptive refactoring to enable passing a second
parameter to force plain http.
2019-09-02 16:30:05 -04:00
Tim Pope
9edacf9d5b
Prefer FugitiveFind() over FugitiveCommonDir()
...
FugitiveFind() is guaranteed to include a Vim friendly path, while
FugitiveCommonDir() currently returns a Git friendly path. That is, the
latter uses forwards slashes even on win32, and might do something to
accommodate Cygwin.
2019-08-19 06:25:07 -04:00
Tim Pope
e57ed3b6be
Replace FugitiveRoute() with FugitiveFind()
2018-11-16 17:35:00 -05: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
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
Tim Pope
a48904e709
Mention collaborator completion in README
2014-07-05 18:34:27 -04:00
Tim Pope
aa3f3e1f59
Delegate compiler
2014-06-11 03:16:17 -04:00
Tim Pope
79c35f56eb
Extract contribution guidelines
2014-04-02 19:04:00 -04:00
Tim Pope
d7e399f07b
Markdown headings
2014-04-02 19:04:00 -04:00
Tim Pope
0db6d1e831
Document all 5 ways to auth
2014-04-02 19:04:00 -04:00
Tim Pope
8dfe33676f
Set custom user agent
2014-04-02 19:04:00 -04:00
Tim Pope
61aeac27af
Fix JSON parsing error message
2013-02-23 16:57:12 -05:00
Tim Pope
42175a0441
Enable hub if installed
2013-02-19 23:50:33 -05:00
Tim Pope
280a7b12df
Add netrc support
2012-10-18 13:33:08 -04:00
Tim Pope
a17d35dfae
Switch to API v3
2012-04-07 00:30:56 -04:00
Tim Pope
5ba1ce58b1
Broaden commit message editing recognition
2012-04-06 20:16:21 -04:00
Tim Pope
d4c3994cbb
Document providing credentials
2012-04-06 20:04:42 -04:00
Tim Pope
f35acd764b
Support password authentication
2012-04-06 19:57:45 -04:00
Tim Pope
5df8f46efe
Clarify copyright
2011-09-08 01:14:25 -04:00
Tim Pope
dbc16962d3
Initial commit
2011-08-27 13:05:15 -04:00