Merge pull request #2648 from idbrii/git-nolock

Don't lock git repo when checking status
This commit is contained in:
Christian Brabandt 2023-07-19 20:33:02 +02:00 committed by GitHub
commit e6bb8427dc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

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