mirror of
https://github.com/vim-airline/vim-airline.git
synced 2026-02-17 23:34:10 +08:00
Merge pull request #2648 from idbrii/git-nolock
Don't lock git repo when checking status
This commit is contained in:
@@ -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',
|
||||||
|
|||||||
Reference in New Issue
Block a user