From f3ae9dd82c19d41d75a3df7d9700ae2829264587 Mon Sep 17 00:00:00 2001 From: Sorin Ionescu Date: Sat, 22 Dec 2012 10:05:32 -0400 Subject: [PATCH] Initialize ahead and behind local variables --- modules/git/functions/git-info | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/git/functions/git-info b/modules/git/functions/git-info index 2e52eab3..274b7bf7 100644 --- a/modules/git/functions/git-info +++ b/modules/git/functions/git-info @@ -126,13 +126,13 @@ function git-info { local added=0 local added_format local added_formatted - local ahead + local ahead=0 local ahead_and_behind local ahead_and_behind_cmd local ahead_format local ahead_formatted local ahead_or_behind - local behind + local behind=0 local behind_format local behind_formatted local branch