Tim Pope
655f7c92f3
Show unpushed and unpulled sections for both upstream and push
...
References https://github.com/tpope/vim-fugitive/issues/1436
References https://github.com/tpope/vim-fugitive/issues/1172
2020-01-25 20:34:28 -05:00
Tim Pope
477f26cf50
Include refs/heads in constructed push commands
...
Also swap out :Gpush for :Git push while we are at it.
2020-01-25 20:20:02 -05:00
Tim Pope
76ffaf4e7d
Recognize pull.rebase=preserve in :Gstatus
2020-01-25 18:31:03 -05:00
Tim Pope
90b7d98b6c
Temporarily restore User Fugitive autocommand
...
References https://github.com/tpope/vim-fugitive/issues/1441
2020-01-25 11:29:13 -05:00
Tim Pope
4637aca145
Remove tags file warning
...
This was the last thing triggering the autoload file before using an
actual Fugitive feature.
2020-01-24 17:34:41 -05:00
Tim Pope
cd7db1d57c
Replace old public detection API with hint errors
2020-01-24 17:15:25 -05:00
Tim Pope
036fe0f084
Job environment variables are broken on Neovim
...
Closes https://github.com/tpope/vim-fugitive/issues/1443
2020-01-24 05:46:41 -05:00
Tim Pope
22255613f7
Replace :Gcommit/:Grevert with standard job runner
2020-01-23 05:52:27 -05:00
Tim Pope
c989c1f59e
Replace :Grebase/:Gmerge/:Gpull with standard job runner
2020-01-23 05:52:27 -05:00
Tim Pope
6b18f7b758
Remove :Gwrite in :Git diff
2020-01-23 05:52:27 -05:00
Tim Pope
8d6f9734c1
Use jobs for :Git
2020-01-23 05:52:27 -05:00
Tim Pope
4301c57f24
Extract helper script creator function
2020-01-23 05:52:27 -05:00
Tim Pope
7f22cc6167
Revert "Specify shell command, not wrapper, in b:dispatch"
...
This reverts commit 5bcb42164e .
2020-01-23 03:49:14 -05:00
Tim Pope
9d62c67737
Remove legacy autocommands
2020-01-22 09:44:07 -05:00
Tim Pope
71038e83f1
Try to use relative path for :Ggrep
...
References https://github.com/tpope/vim-fugitive/issues/1439
2020-01-21 15:29:29 -05:00
Tim Pope
21ed533001
fugitive.vim 3.2
...
* Provide :Git mergetool to load conflicts into quickfix list.
* Provide :Git difftool to load arbitrary changesets into quickfix list.
* Call FugitiveBlob/FugitiveCommit/etc autocommands on Fugitive buffer load.
* :Git --paginate display results in temp buffer.
* :Git --no-pager no longer displays results in temp buffer.
* Accomodate loading Fugitive buffers in popup window.
* Better PowerShell support.
* Bug fixes.
v3.2
2020-01-21 04:33:16 -05:00
Tim Pope
29153d5ba1
Provide git config --get-all wrapper
2020-01-20 15:42:54 -05:00
Tim Pope
8d4b85ed09
Replace --format with --pretty=format for older Git
2020-01-20 15:42:54 -05:00
Tim Pope
708595d996
Fix comment typo
2020-01-20 15:42:45 -05:00
Chris DeLuca
dc6719e7b0
Fix :Gdiffsplit! help typo
2020-01-20 10:27:14 -05:00
Tim Pope
c48db08e4e
Use appropriate slashes for :Dispatch working directory
2020-01-20 10:27:00 -05:00
Tim Pope
2ebdeef9e0
Change :Git --paginate from :terminal to temp buffer
...
The --paginate option to Git forces it to use $PAGER rather than its own
configuration, so it makes perfect sense for Fugitive to take on the
role of the pager.
This also removes the same behavior for --no-pager, allowing the command
to run with :! instead. I really don't like sudden backwards
incompatible changes like this, but the old behavior was based on a bad
understanding of how these options work, and I'd rather rip the band-aid
off sooner rather than later.
2020-01-20 09:03:49 -05:00
Tim Pope
bc0b78ee84
Remove dead code
2020-01-20 08:42:02 -05:00
Tim Pope
5bcb42164e
Specify shell command, not wrapper, in b:dispatch
...
This frees us up to change :Gfetch not to use :Make.
2020-01-20 07:28:55 -05:00
Tim Pope
1a6934fc7e
Fix FugitiveParse() return value documentation
2020-01-20 07:03:48 -05:00
Tim Pope
397fb99921
Provide FugitiveBlob style autocommands
...
This is the real replacement for fugitive#buffer().type(), as the only
real world use of that seemed to be in BufReadPost autocommands.
2020-01-20 05:52:22 -05:00
Tim Pope
5b1213d0db
Fix :Gmerge
2020-01-20 05:52:22 -05:00
Tim Pope
ae52b5a96a
Better PowerShell support
2020-01-18 01:30:43 -08:00
Tim Pope
9f032ed040
Prevent alternate buffer change loading Fugitive buffer
2020-01-18 00:51:38 -05:00
Tim Pope
d428032600
Fix netrw gx in Fugitive buffers AGAIN
2020-01-18 00:45:17 -05:00
Tim Pope
c83355d5c5
Accomodate loading Fugitive buffers in popup window
...
Closes https://github.com/tpope/vim-fugitive/issues/1418
2020-01-15 01:26:31 -05:00
Tim Pope
4732bb964a
Generalize :Git environment variable overrides
2020-01-14 22:56:11 -05:00
Tim Pope
3e32a55619
Avoid false positives on rebase todo handler
2020-01-14 22:56:11 -05:00
Tim Pope
a65db6fcf8
Move :Gmerge warning to top level function
...
The old location isn't long for this world.
2020-01-14 22:56:11 -05:00
Tim Pope
305337a9c1
Begin phasing out :Git --paginate special case
...
This was a mistake. I took --paginate to be the opposite of --no-pager,
but it forces $PAGER over $GIT_PAGER and pager configuration. This
defeats the purpose of using it as way to trick :Git into running a
regular command with :terminal.
References https://github.com/tpope/vim-fugitive/issues/1415
2020-01-14 20:43:21 -05:00
Tim Pope
6a638f2392
Match "* Unmerged path" in mergetool
...
This happens in leiu of a diff when one of the commits adds (or
presumably removes) the file rather than changing it.
2020-01-12 18:53:21 -05:00
Tim Pope
6bc345f6f1
Map cmt to :Git mergetool
...
References https://github.com/tpope/vim-fugitive/issues/1329
2020-01-10 20:29:58 -05:00
Tim Pope
def982ac4d
Softly deprecate :Gmerge for quickfix conflicts
2020-01-10 20:29:15 -05:00
Tim Pope
5fe99dc5df
Provide interface for subcommands to set execution options
2020-01-10 19:54:06 -05:00
Tim Pope
394c925381
Fix netrw gx in Fugitive buffers
2020-01-09 21:34:35 -05:00
Tim Pope
4074727343
Really fix packed ref handling in :Gbrowse
...
References https://github.com/tpope/vim-fugitive/issues/1428
2020-01-06 16:00:21 -05:00
Tim Pope
cfa7bdc82a
Handle packed refs in :Gbrowse
...
Closes https://github.com/tpope/vim-fugitive/issues/1428
2020-01-06 13:33:49 -05:00
Tim Pope
ddd64fc4c5
Provide :Git difftool and :Git mergetool
...
Closes https://github.com/tpope/vim-fugitive/issues/132
2020-01-05 21:41:18 -05:00
Tim Pope
2bcf755c6e
Run QuickFix autocommands on :Gclog
2020-01-05 16:36:11 -05:00
Tim Pope
295f41bbf4
Save diff context in :Gclog
2020-01-05 16:17:58 -05:00
Tim Pope
9ec6b55d03
Improve display of :Gclog --summary
2020-01-05 01:50:24 -05:00
Tim Pope
3604fab3b7
Fix whitespace in README
2020-01-05 01:50:24 -05:00
Tim Pope
6d011f1ea5
Improve :Gclog window title
2020-01-05 00:36:36 -05:00
Tim Pope
726fdf1c94
Support ...commit as HEAD...commit
2020-01-03 19:47:08 -05:00
Tim Pope
3bf602b13d
Use underlying commit not tag for :Gedit tag:path
2019-12-27 17:19:42 -05:00