From c45bb3e70c616b359f05e4fac0414375aa93acf1 Mon Sep 17 00:00:00 2001 From: Frank Terbeck Date: Wed, 23 May 2012 07:39:48 +0000 Subject: Juliano Ravasi: VCS_INFO_get_data_git: Fix initialisation of `$stgit_unapplied' --- ChangeLog | 8 +++++++- Functions/VCS_Info/Backends/VCS_INFO_get_data_git | 2 +- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index c04a1e64b..35cebd835 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2012-05-23 Frank Terbeck + + * Juliano Ravasi: + Functions/VCS_Info/Backends/VCS_INFO_get_data_git: Fix + initialisation of `$stgit_unapplied'. + 2012-05-22 Peter Stephenson * Jun T.: 30483: Completion/Unix/Command/_mount: improved @@ -16321,5 +16327,5 @@ ***************************************************** * This is used by the shell to define $ZSH_PATCHLEVEL -* $Revision: 1.5658 $ +* $Revision: 1.5659 $ ***************************************************** 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 -- cgit 1.4.1