mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-23 04:30:24 +02:00
Juliano Ravasi: VCS_INFO_get_data_git: Fix initialisation of `$stgit_unapplied'
This commit is contained in:
parent
7d09ec507c
commit
c45bb3e70c
2 changed files with 8 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue