Tim Pope
d1e74ac267
Move :Git --paginate helper function into :Git section
2021-02-20 21:59:03 -05:00
Tim Pope
eb4d75efb6
Fix :Gedit worktree-file
...
Closes https://github.com/tpope/vim-fugitive/issues/1679
References https://github.com/tpope/vim-fugitive/issues/1667
2021-02-19 18:47:13 -05:00
Tim Pope
0a35937003
Provide error message when Netrw can't be loaded
2021-02-16 21:04:13 -05:00
Tim Pope
c63bc47c44
Remove obsolete push/fetch docs
2021-02-15 20:11:56 -05:00
Tim Pope
d6809e9ee4
Use stderr for in-band job communication
...
Since stdout can contain arbitrary user data, let's touch it as little
as possible. When using a pty, this has no effect, as everything goes
through stdout, but I aim to move handle --paginate with this same
pipeline, and that will not use a pty.
2021-02-15 20:11:56 -05:00
Tim Pope
15f32b0008
Guard against diff.noprefix in commit buffers
2021-02-15 20:11:56 -05:00
Sam Cedarbaum
22384947a0
Add Azure DevOps :GBrowse extension to README
2021-02-15 14:31:45 -05:00
Tim Pope
d4bcc75ef6
Remove dispatch.vim backed fetch and push
2021-02-12 18:35:28 -05:00
Tim Pope
0cc2190889
Add deprecation notices to git subcommand wrappers
2021-02-12 18:35:28 -05:00
Tim Pope
4c5f6fcaf5
Retire old :Gsplit! family of temp buffer commands
2021-02-12 13:49:07 -05:00
Tim Pope
5c821eb78d
Don't default to work tree on :Gedit invalidref:file
...
Closes https://github.com/tpope/vim-fugitive/issues/1667
2021-02-11 17:05:05 -05:00
Tim Pope
8cf0cf5bfb
Emphasize poor quickfix performance in docs
...
References https://github.com/tpope/vim-fugitive/issues/1662
2021-01-25 22:44:03 -05:00
Andreas Hunkeler
bebe504e38
Fix typo in helpfile
2020-12-17 04:13:22 -05:00
Tim Pope
7afa1cfaa6
Avoid presenting verbose command output as error
...
References https://github.com/tpope/vim-fugitive/issues/1643
2020-12-07 18:59:28 -05:00
Tim Pope
7bcfe539be
Avoid window shenanigans if :diffoff restores options
...
Closes https://github.com/tpope/vim-fugitive/issues/1634
2020-11-27 09:40:22 -05:00
Tim Pope
866ecfff4e
Enable Help: header
...
This change was inadvertantly omitted from
d2abfca08f .
References https://github.com/tpope/vim-fugitive/issues/1513
2020-11-24 02:01:39 -05:00
Pavol Juhas
e90478511d
Restore correct cursor position in commit buffer
...
Use `lockmarks` in fugitive#BufReadCmd to avoid offsetting marks.
2020-11-24 02:00:14 -05:00
Maksim Odnoletkov
660d2ba2b6
Fix jumps from blame commits with ignore marks
...
c212d854d5 added initial support for
marks added by blame.markIgnoredLines and blame.markUnblamableLines.
One more change is needed to parse the blame line properly to enable
jumps.
2020-11-20 21:01:21 -05:00
Tim Pope
1a77f1c00e
Recover from deleted temp script
...
Closes https://github.com/tpope/vim-fugitive/issues/1616
2020-10-26 20:31:54 -04:00
Tim Pope
89e6b5e4e1
Disable 'swapfile' early
...
This should eliminate the need to disable 'swapfile' in
fugitive#BufReadCmd(), but I'm inclined not to fix what isn't broken.
Closes https://github.com/tpope/vim-fugitive/issues/1598
2020-10-11 20:42:35 -04:00
Tim Pope
4189bdb580
Don't override user :G
...
Closes https://github.com/tpope/vim-fugitive/issues/1607
2020-09-29 20:31:08 -04:00
Tim Pope
e12236b60a
Fix reference to renamed function
...
Closes https://github.com/tpope/vim-fugitive/issues/1606
2020-09-27 06:05:05 -04:00
Ryosuke Ito
12011a475d
Disable spell checking while blaming
2020-09-26 14:40:36 -04:00
Tim Pope
8080407ae9
Provide public diff closing function
...
Closes https://github.com/tpope/vim-fugitive/pull/1587
2020-09-26 12:21:52 -04:00
Tim Pope
49315d0c74
Fix :Gwrite DWIM in commit messages
...
Closes https://github.com/tpope/vim-fugitive/issues/1599
2020-09-24 07:32:12 -04:00
Tim Pope
4824b5b3fe
Avoid empty string keys to prevent Vim 7 error
...
Closes https://github.com/tpope/vim-fugitive/issues/1113
2020-09-24 03:49:23 -04:00
Wu Yongwei
511d3035d4
Fix: digits in a user name was highlighted as time
2020-08-26 17:39:35 -04:00
Tim Pope
260182c65c
Support partial staging after git add -N
...
Closes https://github.com/tpope/vim-fugitive/issues/1567
2020-07-30 21:36:29 -04:00
Tim Pope
9b6a24b131
Fix tab complete for :Git push --option
...
Closes https://github.com/tpope/vim-fugitive/issues/1570
2020-07-27 19:57:50 -04:00
Tim Pope
1da7c133b1
Recommend :Git log over :Gclog
...
Closes https://github.com/tpope/vim-fugitive/issues/1556
2020-06-27 16:39:43 -04:00
Tim Pope
27a5c3abd2
Trigger OptionSet on automatic :diffoff
...
Closes https://github.com/tpope/vim-fugitive/issues/1545
2020-05-31 00:50:49 -04:00
Tim Pope
03fa78141e
Improve weird :Ggrep --column quickfix title
2020-05-31 00:50:49 -04:00
Tim Pope
f1a75478cb
Tighten syntax highlighting for SHA
2020-05-31 00:50:49 -04:00
Tim Pope
0646a53c6b
Add Help: header
...
Closes https://github.com/tpope/vim-fugitive/issues/1513
2020-05-31 00:50:49 -04:00
Tim Pope
d2abfca08f
Refactor run loop
2020-05-31 00:50:49 -04:00
Tim Pope
e87fe092a2
Extract s:RunEdit()
2020-05-31 00:50:49 -04:00
Maksim Odnoletkov
5d32f75289
Fix stash map
...
`czz` used to act without confirmation before. But
6b40e51008 changed it to require `<CR>`.
Given that `czw` keeps working without confirmation and that there
is a separate `cz<Space>` map - seems like the change was not intended?
2020-05-28 17:05:45 -04:00
Tim Pope
caf3b1d569
Don't default :Git grep to --column
...
If you want this, you can pass --column yourself, or set the grep.column
config option. This is probably going to change for :Ggrep, too.
2020-04-24 23:05:39 -04:00
Tim Pope
f17a91d010
Provide completion relative to working directory
2020-04-24 23:01:38 -04:00
Tim Pope
5dfe8581ca
Extract :Ggrep/:Glgrep wrapper function
2020-04-24 23:01:38 -04:00
Tim Pope
92ad06f70d
Use parameterized Git dir when completing heads
2020-04-24 23:01:37 -04:00
Tim Pope
05bbfcd0dc
Remove commit entry from :{range}Glog
2020-04-21 13:44:34 -04:00
Tim Pope
85e2c73830
Favor :Ggrep over :Git grep
...
I'm starting to think :Git grep shouldn't be special cased.
Occasionally it is desirable to see grep results without clobbering the
quickfix list.
Reserve -O/--open-files-in-pager to opt into quickfix behavior, as this
fits well with Fugitive's use of a temp buffer as the Git pager.
2020-04-12 11:47:38 -04:00
Tim Pope
f5391f0bfc
Fix race condition resuming job after editor invocation
...
Closes https://github.com/tpope/vim-fugitive/issues/1489
2020-04-12 11:47:38 -04:00
Tim Pope
53dd9b3957
Encapsulate update-index --index-info
2020-04-08 04:06:24 -04:00
Tim Pope
792f51a58b
Leverage Git config retrieval helpers
2020-04-08 02:51:55 -04:00
Tim Pope
a9bf9de61d
Move Quickfix section under Git section
2020-04-08 02:51:55 -04:00
James Wright
0e35c9bbc7
Fix typos in README
...
Fixes #1493
2020-03-21 21:36:07 -04:00
Tim Pope
9a4d730270
Drop support for :{windowheight}Git
...
Ever since Vim gained -addr=, it's been impossible to define a command
that accepts both marks like '< (requires -addr=lines) an and a count
that's beyond the end of the file (requires -addr=other). This means
:Git needs to pick sides between :'<,'>Git blame and :{windowheight}Git
log, and the former is much more important than the latter.
2020-03-12 10:23:56 -04:00
Patrice Peterson
ccf582838b
Fix some inconsistencies in help mappings
...
Some didn't use `<silent>` or `<C-U>`.
2020-03-12 09:30:14 -04:00