mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-03 02:00:05 +08:00
perf(git): use notify instead of echo
This commit is contained in:
parent
975e1d5088
commit
91fd3ad573
@ -379,6 +379,7 @@ function! s:show_diff_of_unstaged_hunks() abort
|
|||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
function! s:fetch_repo() abort
|
function! s:fetch_repo() abort
|
||||||
|
Git fetch
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
function! s:pull_repo() abort
|
function! s:pull_repo() abort
|
||||||
|
4
bundle/git.vim/autoload/git/push.vim
vendored
4
bundle/git.vim/autoload/git/push.vim
vendored
@ -27,9 +27,9 @@ endfunction
|
|||||||
function! s:on_exit(...) abort
|
function! s:on_exit(...) abort
|
||||||
let data = get(a:000, 2)
|
let data = get(a:000, 2)
|
||||||
if data != 0
|
if data != 0
|
||||||
echo 'failed!'
|
call s:NOTI.notify('Git push failed!', 'WarningMsg')
|
||||||
else
|
else
|
||||||
echo 'done!'
|
call s:NOTI.notify('Git push done!')
|
||||||
endif
|
endif
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user