diff options
author | romkatv <roman.perepelitsa@gmail.com> | 2020-02-22 20:58:58 +0300 |
---|---|---|
committer | romkatv <roman.perepelitsa@gmail.com> | 2020-02-22 20:58:58 +0300 |
commit | 68257a197c4629e0ef3c15e30a43ce1d385e9dc5 (patch) | |
tree | 530fc9b4a71cd61a8d414a74d72c05539688d993 /gitstatus/gitstatus.plugin.zsh | |
parent | f1be283dbc97081d2b02abef62599e6e8fd360d9 (diff) |
pull upstream changes from gitstatus
Diffstat (limited to 'gitstatus/gitstatus.plugin.zsh')
-rw-r--r-- | gitstatus/gitstatus.plugin.zsh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gitstatus/gitstatus.plugin.zsh b/gitstatus/gitstatus.plugin.zsh index 96f8742a..6f4540c0 100644 --- a/gitstatus/gitstatus.plugin.zsh +++ b/gitstatus/gitstatus.plugin.zsh @@ -577,6 +577,7 @@ function gitstatus_start() { zf_rm -- $file_prefix.lock || return zsystem flock -u $lock_fd || return + unset _GITSTATUS_LOCK_FD_$name typeset -gi _GITSTATUS_STATE_$name=2 fi @@ -661,7 +662,7 @@ function gitstatus_stop() { local req_fd_var=_GITSTATUS_REQ_FD_$name local resp_fd_var=_GITSTATUS_RESP_FD_$name local lock_fd_var=_GITSTATUS_LOCK_FD_$name - local client_pid_var=GITSTATUS_CLIENT_PID_$name + local client_pid_var=_GITSTATUS_CLIENT_PID_$name local daemon_pid_var=GITSTATUS_DAEMON_PID_$name local inflight_var=_GITSTATUS_NUM_INFLIGHT_$name local file_prefix_var=_GITSTATUS_FILE_PREFIX_$name |