branch: ignore submodules for git when determing clean state

This commit is contained in:
Christian Brabandt 2019-04-25 08:47:05 +02:00
parent 11cd15d218
commit 9c1486522a
No known key found for this signature in database
GPG Key ID: F3F92DA383FDDE09

View File

@ -17,7 +17,7 @@ let s:vcs_config = {
\ 'git': { \ 'git': {
\ 'exe': 'git', \ 'exe': 'git',
\ 'cmd': 'git status --porcelain -- ', \ 'cmd': 'git status --porcelain -- ',
\ 'dirty': 'git status -uno --porcelain', \ 'dirty': 'git status -uno --porcelain --ignore-submodules',
\ 'untracked_mark': '??', \ 'untracked_mark': '??',
\ 'exclude': '\.git', \ 'exclude': '\.git',
\ 'update_branch': 's:update_git_branch', \ 'update_branch': 's:update_git_branch',