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
1 changed files with 2 additions and 2 deletions

View File

@ -17,7 +17,7 @@ let s:vcs_config = {
\ 'git': {
\ 'exe': 'git',
\ 'cmd': 'git status --porcelain -- ',
\ 'dirty': 'git status --porcelain',
\ 'dirty': 'git status -uno --porcelain',
\ 'untracked_mark': '??',
\ 'exclude': '\.git',
\ 'update_branch': 's:update_git_branch',
@ -28,7 +28,7 @@ let s:vcs_config = {
\ 'mercurial': {
\ 'exe': 'hg',
\ 'cmd': 'hg status -u -- ',
\ 'dirty': 'hg status -muard',
\ 'dirty': 'hg status -mard',
\ 'untracked_mark': '?',
\ 'exclude': '\.hg',
\ 'update_branch': 's:update_hg_branch',