From 9c1486522a23e7fdf61c498742714f0dd6f790e1 Mon Sep 17 00:00:00 2001 From: Christian Brabandt Date: Thu, 25 Apr 2019 08:47:05 +0200 Subject: [PATCH] branch: ignore submodules for git when determing clean state --- autoload/airline/extensions/branch.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/airline/extensions/branch.vim b/autoload/airline/extensions/branch.vim index 0dd2e6b..0b220ea 100644 --- a/autoload/airline/extensions/branch.vim +++ b/autoload/airline/extensions/branch.vim @@ -17,7 +17,7 @@ let s:vcs_config = { \ 'git': { \ 'exe': 'git', \ 'cmd': 'git status --porcelain -- ', -\ 'dirty': 'git status -uno --porcelain', +\ 'dirty': 'git status -uno --porcelain --ignore-submodules', \ 'untracked_mark': '??', \ 'exclude': '\.git', \ 'update_branch': 's:update_git_branch',