diff options
Diffstat (limited to 'Functions/VCS_Info/VCS_INFO_quilt')
-rw-r--r-- | Functions/VCS_Info/VCS_INFO_quilt | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/Functions/VCS_Info/VCS_INFO_quilt b/Functions/VCS_Info/VCS_INFO_quilt index 1872fc7fa..a81da1c49 100644 --- a/Functions/VCS_Info/VCS_INFO_quilt +++ b/Functions/VCS_Info/VCS_INFO_quilt @@ -174,13 +174,9 @@ function VCS_INFO_quilt() { all=( ${(Oa)applied} ${unapplied} ) VCS_INFO_set-patch-format 'applied' 'applied_string' \ - 'unapplied' 'unapplied_string' + 'unapplied' 'unapplied_string' \ + ${context} qstring - if (( ${#applied} )); then - zstyle -s "${context}" patch-format qstring || qstring="%p (%n applied)" - else - zstyle -s "${context}" nopatch-format qstring || qstring="no patch applied" - fi hook_com=( applied "${applied_string}" unapplied "${unapplied_string}" applied-n ${#applied} unapplied-n ${#unapplied} all-n ${#all} ) if VCS_INFO_hook 'set-patch-format' ${qstring}; then |