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
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
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
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
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
Guillaume
c509c7eede
Fix error message when editing a pull request
2019-06-27 12:44:55 -04:00
Matt Rogers
786d7a74ed
Set a filetype only if unset or wrong
...
It's possible that vim's built-in will notice the comment lines and set
a filetype of `conf`. This makes using `setfiletype` impractical since
`setfiletype` does not override an already set file type.
2019-06-24 13:30:16 -04:00
Tim Pope
e57ed3b6be
Replace FugitiveRoute() with FugitiveFind()
2018-11-16 17:35:00 -05: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
322dd5e05f
Make config file check more robust
2018-07-28 21:14:17 -04:00
Tim Pope
925dec7ee7
Restore "hub" support using g:fugitive_git_command
2017-05-23 14:47:17 -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
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
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
2efe193ddb
Better error reporting
2015-08-02 18:34:10 -04:00
Tim Pope
b4a939b78c
Support for GitHub enterprise
...
Completely untested.
2015-08-02 16:55:14 -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
Bruno Sutic
9a2dff2c6c
Add project collaborator username completion
...
Closes #1 .
2014-07-05 18:32:36 -04:00
Tim Pope
aa3f3e1f59
Delegate compiler
2014-06-11 03:16:17 -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
f35acd764b
Support password authentication
2012-04-06 19:57:45 -04:00
Tim Pope
dbc16962d3
Initial commit
2011-08-27 13:05:15 -04:00