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

plugin/magit.vim: fix big :%s

parent 32819f0c
Branches
Tags
No related merge requests found
......@@ -683,7 +683,7 @@ function! magit#stage_block(selection, discard) abort
endif
elseif ( section == 'staged' )
if ( file.must_be_added() )
call magit#git#git_resetmagit#utils#add_quotes(filename))
call magit#git#git_reset(magit#utils#add_quotes(filename))
else
call magit#git#git_unapply(header, a:selection, 'staged')
endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment