1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-23 11:30:06 +08:00

fix(git): update branch name after :Git branch command

This commit is contained in:
Eric Wong 2024-03-06 20:59:50 +08:00
parent 5d9a515653
commit dc65e2b3bf

View File

@ -92,6 +92,7 @@ local function on_stderr(id, data)
end
local function on_exit(id, code, single)
M.detect()
log.debug('branch exit code:' .. code .. ' single:' .. single)
if id ~= branch_jobid then
return