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