about summary refs log tree commit diff
path: root/Functions
diff options
context:
space:
mode:
authorFrank Terbeck <bewater@users.sourceforge.net>2012-05-23 07:39:48 +0000
committerFrank Terbeck <bewater@users.sourceforge.net>2012-05-23 07:39:48 +0000
commitc45bb3e70c616b359f05e4fac0414375aa93acf1 (patch)
tree711d4ccabb43f5d248114c33dd46568f13426d5e /Functions
parent7d09ec507c139a16fc4246a1c035f70584cc41ea (diff)
downloadzsh-c45bb3e70c616b359f05e4fac0414375aa93acf1.tar.gz
zsh-c45bb3e70c616b359f05e4fac0414375aa93acf1.tar.xz
zsh-c45bb3e70c616b359f05e4fac0414375aa93acf1.zip
Juliano Ravasi: VCS_INFO_get_data_git: Fix initialisation of `$stgit_unapplied'
Diffstat (limited to 'Functions')
-rw-r--r--Functions/VCS_Info/Backends/VCS_INFO_get_data_git2
1 files changed, 1 insertions, 1 deletions
diff --git a/Functions/VCS_Info/Backends/VCS_INFO_get_data_git b/Functions/VCS_Info/Backends/VCS_INFO_get_data_git
index 01bf9f3f5..9364fd021 100644
--- a/Functions/VCS_Info/Backends/VCS_INFO_get_data_git
+++ b/Functions/VCS_Info/Backends/VCS_INFO_get_data_git
@@ -134,7 +134,7 @@ if [[ -d $patchdir ]] ; then
     stgit_applied=(${(f)"$(< "${patchdir}/applied")"})
     stgit_applied=( ${(Oa)stgit_applied} )
     stgit_unapplied=(${(f)"$(< "${patchdir}/unapplied")"})
-    stgit_unapplied=( ${(oa)stgit_applied} )
+    stgit_unapplied=( ${(oa)stgit_unapplied} )
 
     if VCS_INFO_hook 'gen-applied-string' "${stgit_applied[@]}"; then
         if (( ${#stgit_applied} )); then