summaryrefslogtreecommitdiff
path: root/gitstatus/gitstatus.plugin.zsh
diff options
context:
space:
mode:
authorromkatv <roman.perepelitsa@gmail.com>2019-03-27 22:27:36 +0300
committerromkatv <roman.perepelitsa@gmail.com>2019-03-27 22:27:36 +0300
commitc8a3d5ba89b60385b684ee552587b2bdedd2a27f (patch)
treedd70a6f3a06b41ff35ee3b04594474d79da7a942 /gitstatus/gitstatus.plugin.zsh
parentd14ae7eafd8eeaa830b8578e00d1c3d03f000cce (diff)
pull upstream changes from gitstatus
Diffstat (limited to 'gitstatus/gitstatus.plugin.zsh')
-rw-r--r--gitstatus/gitstatus.plugin.zsh3
1 files changed, 2 insertions, 1 deletions
diff --git a/gitstatus/gitstatus.plugin.zsh b/gitstatus/gitstatus.plugin.zsh
index cdd2cb8b..aa95e408 100644
--- a/gitstatus/gitstatus.plugin.zsh
+++ b/gitstatus/gitstatus.plugin.zsh
@@ -24,7 +24,8 @@
# If VCS_STATUS_RESULT is ok-sync or ok-async, additional variables are set:
#
# VCS_STATUS_WORKDIR Git repo working directory. Not empty.
-# VCS_STATUS_COMMIT Commit hash that HEAD is pointing to. 40 hex digits.
+# VCS_STATUS_COMMIT Commit hash that HEAD is pointing to. Either 40 hex digits or empty
+# if there is no HEAD (empty repo).
# VCS_STATUS_LOCAL_BRANCH Local branch name or empty if not on a branch.
# VCS_STATUS_REMOTE_BRANCH Upstream branch name. Can be empty.
# VCS_STATUS_REMOTE_URL Remote URL. Can be empty.