Skip to content
Snippets Groups Projects
Commit dda63599 authored by Jerome Reybert's avatar Jerome Reybert
Browse files

plugin/magit.vim: do not refresh magit buffer when discard is not performed

parent 777f4c2c
Branches
Tags
No related merge requests found
......@@ -753,6 +753,7 @@ function! s:mg_stage_closed_file(discard)
\ g:magit_sections.staged . "\" section, "
\ "unstage file first."
echohl None
return
endif
endif
call magit#update_buffer()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment