branch: skip untracked files for clean state

This commit is contained in:
Christian Brabandt 2019-04-25 07:35:41 +02:00
parent a8b0c5f760
commit 1297773a26
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 --porcelain', \ 'dirty': 'git status -uno --porcelain',
\ 'untracked_mark': '??', \ 'untracked_mark': '??',
\ 'exclude': '\.git', \ 'exclude': '\.git',
\ 'update_branch': 's:update_git_branch', \ 'update_branch': 's:update_git_branch',
@ -28,7 +28,7 @@ let s:vcs_config = {
\ 'mercurial': { \ 'mercurial': {
\ 'exe': 'hg', \ 'exe': 'hg',
\ 'cmd': 'hg status -u -- ', \ 'cmd': 'hg status -u -- ',
\ 'dirty': 'hg status -muard', \ 'dirty': 'hg status -mard',
\ 'untracked_mark': '?', \ 'untracked_mark': '?',
\ 'exclude': '\.hg', \ 'exclude': '\.hg',
\ 'update_branch': 's:update_hg_branch', \ 'update_branch': 's:update_hg_branch',