1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-26 04:30:27 +01:00

Juliano Ravasi: VCS_INFO_get_data_git: Fix initialisation of `$stgit_unapplied'

This commit is contained in:
Frank Terbeck 2012-05-23 07:39:48 +00:00
parent 7d09ec507c
commit c45bb3e70c
2 changed files with 8 additions and 2 deletions

View file

@ -1,3 +1,9 @@
2012-05-23 Frank Terbeck <ft@bewatermyfriend.org>
* Juliano Ravasi:
Functions/VCS_Info/Backends/VCS_INFO_get_data_git: Fix
initialisation of `$stgit_unapplied'.
2012-05-22 Peter Stephenson <p.w.stephenson@ntlworld.com>
* 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 $
*****************************************************

View file

@ -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