From 8b0ab3ce616d592af17056c3652027b30cb35f70 Mon Sep 17 00:00:00 2001 From: Eugen Kuksa Date: Wed, 3 Dec 2014 20:05:43 +0100 Subject: [PATCH] Fix stashed count The variable `${git_dir}` was not available in the context of the function `git-info`. It was only defined in the function `_git-action`. --- modules/git/functions/git-info | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/git/functions/git-info b/modules/git/functions/git-info index 200b2d25..46708bc2 100644 --- a/modules/git/functions/git-info +++ b/modules/git/functions/git-info @@ -95,6 +95,8 @@ function git-info { setopt LOCAL_OPTIONS setopt EXTENDED_GLOB + local git_dir="$(git-dir)" + local action local action_format local action_formatted