* PATCH: vcs_info: Fix construction of stgit_unapplied variable.
@ 2012-05-22 21:26 Juliano Ravasi
2012-05-23 7:46 ` Frank Terbeck
0 siblings, 1 reply; 2+ messages in thread
From: Juliano Ravasi @ 2012-05-22 21:26 UTC (permalink / raw)
To: zsh-workers
[-- Attachment #1: Type: text/plain, Size: 175 bytes --]
Hi,
stgit_unapplied variable in vcs_info hooks is currently initialized
with the wrong value.
I would like to submit this small fix.
Regards,
Juliano.
--
Juliano F. Ravasi
[-- Attachment #2: 0001-vcs_info-Fix-construction-of-stgit_unapplied-variabl.patch --]
[-- Type: application/octet-stream, Size: 1034 bytes --]
From a505d113409cc688c3b5732f226333453a693494 Mon Sep 17 00:00:00 2001
From: "Juliano F. Ravasi" <jravasi@google.com>
Date: Tue, 22 May 2012 00:39:44 -0300
Subject: [PATCH] vcs_info: Fix construction of stgit_unapplied variable.
---
Functions/VCS_Info/Backends/VCS_INFO_get_data_git | 2 +-
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 01bf9f3..9364fd0 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
--
1.7.7.3
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: PATCH: vcs_info: Fix construction of stgit_unapplied variable.
2012-05-22 21:26 PATCH: vcs_info: Fix construction of stgit_unapplied variable Juliano Ravasi
@ 2012-05-23 7:46 ` Frank Terbeck
0 siblings, 0 replies; 2+ messages in thread
From: Frank Terbeck @ 2012-05-23 7:46 UTC (permalink / raw)
To: zsh-workers
Juliano Ravasi wrote:
> stgit_unapplied variable in vcs_info hooks is currently initialized
> with the wrong value.
> I would like to submit this small fix.
Applied. Thank you!
Regards, Frank
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-05-23 7:56 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-05-22 21:26 PATCH: vcs_info: Fix construction of stgit_unapplied variable Juliano Ravasi
2012-05-23 7:46 ` Frank Terbeck
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).