New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gstatus window not updated after pushing #1166

Closed
odnoletkov opened this Issue Jan 9, 2019 · 6 comments

Comments

Projects
None yet
2 participants
@odnoletkov
Copy link
Contributor

odnoletkov commented Jan 9, 2019

New status window doesn't auto-reload after pushing with the - map – it displays stale status. Need to R manually. Rebasing with the same map in Unpulled section works just fine – status is updated automatically.

@tpope

This comment has been minimized.

Copy link
Owner

tpope commented Jan 9, 2019

Are you using dispatch.vim? What adapter?

@odnoletkov

This comment has been minimized.

Copy link
Contributor

odnoletkov commented Jan 9, 2019

no dispatch.vim – doesn't update
dispatch.vim synchronous – doesn't update
dispatch.vim w/ tmux – updates

@tpope tpope closed this in 5a1c8bb Jan 9, 2019

@odnoletkov

This comment has been minimized.

Copy link
Contributor

odnoletkov commented Jan 9, 2019

5a1c8bb didn't fix it for me, same behavior

$ git submodule status *fug* *dis*
 9abd7cf09a5b00b3194a71f84e2911b280f30b1e .vim/pack/max/start/vim-dispatch (v1.6-11-g9abd7cf)
 b8a6fd204c6fffad573439b6200aadf0d256a730 .vim/pack/max/start/vim-fugitive (v2.5-71-gb8a6fd2)

$ vim --version
VIM - Vi IMproved 8.1 (2018 May 18, compiled Jan  6 2019 22:28:49)
macOS version
Included patches: 1-700

@tpope tpope reopened this Jan 9, 2019

@tpope tpope closed this in ddc5e1a Jan 10, 2019

@odnoletkov

This comment has been minimized.

Copy link
Contributor

odnoletkov commented Jan 10, 2019

Updated to the latest vim-fugitive and vim-dispatch. 'no dispatch.vim' case is fixed – thanks! But synchronous adapter still doesn't work, so:

no dispatch.vim – updates
dispatch.vim synchronous – doesn't update
dispatch.vim w/ tmux – updates

 a795955b64a2eb15c1f05ae1434a89cc8ca16611 .vim/pack/max/start/vim-dispatch (v1.6-12-ga795955)
 ddc5e1a21a9981fd55933dacbb72857de2090bfe .vim/pack/max/start/vim-fugitive (v2.5-74-gddc5e1a)
@tpope

This comment has been minimized.

Copy link
Owner

tpope commented Jan 11, 2019

Ugh, what a tangled mess of special cases. Latest should fix it.

@odnoletkov

This comment has been minimized.

Copy link
Contributor

odnoletkov commented Jan 11, 2019

All cases work as expected in the latest – thanks!

tracyone added a commit to tracyone/vim-fugitive that referenced this issue Jan 12, 2019

Reload status on all quickfix commands
I thought that I had confirmed :make triggered ShellCmdPost but
apparently not.

Closes tpope#1166

tracyone added a commit to tracyone/vim-fugitive that referenced this issue Jan 12, 2019

Reload status after :Gpush and :Gfetch
So :make does indeed invoke ShellCmdPost.  I just forgot about the
:noautocmd.

Closes tpope#1166
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment