From 85b35020e08a8437aaaced8452094b479e6cae13 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Wed, 6 Mar 2024 21:56:05 +0800 Subject: [PATCH] perf(git): update branch manager after delete branch --- bundle/git.vim/lua/git/command/branch.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bundle/git.vim/lua/git/command/branch.lua b/bundle/git.vim/lua/git/command/branch.lua index 449159268..dda7d19ed 100644 --- a/bundle/git.vim/lua/git/command/branch.lua +++ b/bundle/git.vim/lua/git/command/branch.lua @@ -4,6 +4,7 @@ local job = require('spacevim.api.job') local nt = require('spacevim.api.notify') local log = require('git.log') local str = require('spacevim.api.data.string') +local branch_ui = require('git.ui.branch') local branch = '' local branch_info = {} @@ -93,6 +94,7 @@ end local function on_exit(id, code, single) M.detect() + branch_ui.update() log.debug('branch exit code:' .. code .. ' single:' .. single) if id ~= branch_jobid then return