Skip to content

Commit

Permalink
Use GIT_OPTIONAL_LOCKS=0
Browse files Browse the repository at this point in the history
  • Loading branch information
agkozak committed Jul 8, 2019
1 parent 0d87563 commit ca1558e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion agkozak-zsh-prompt.plugin.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ _agkozak_branch_status() {

if [[ -n $branch ]]; then
local git_status symbols i=1 k
git_status="$(LC_ALL=C command git --no-optional-locks status 2>&1)"
git_status="$(LC_ALL=C GIT_OPTIONAL_LOCKS=0 command git status 2>&1)"

typeset -A messages
messages=(
Expand Down

0 comments on commit ca1558e

Please sign in to comment.