From c25ef5dc4c6b8cc8a12c4d5a521373fef4d92920 Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Mon, 2 Oct 2017 11:57:50 -0400 Subject: [PATCH] fix: Declare and assign separately to avoid masking return values --- plugins/git/functions | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/plugins/git/functions b/plugins/git/functions index 64ec4449b..051ceb54d 100755 --- a/plugins/git/functions +++ b/plugins/git/functions @@ -152,8 +152,9 @@ git_build() { git_upload_pack_cmd() { declare desc="executes git-upload-pack" - local cmd="git-upload-pack" - local APP="$(echo "$2" | perl -pe 's/(?