From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 8F41913881D for ; Sat, 26 Sep 2015 13:30:09 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 80AD721C0D4; Sat, 26 Sep 2015 13:29:12 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 09EDD21C0B7 for ; Sat, 26 Sep 2015 13:29:10 +0000 (UTC) Received: from pomiot.local (77-253-137-92.adsl.inetia.pl [77.253.137.92]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: mgorny) by smtp.gentoo.org (Postfix) with ESMTPSA id 7ADBE340B9E; Sat, 26 Sep 2015 13:29:08 +0000 (UTC) From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= To: gentoo-dev@lists.gentoo.org Cc: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Subject: [gentoo-dev] [PATCH 2/3] git-r3.eclass: Remove unused variable Date: Sat, 26 Sep 2015 15:28:58 +0200 Message-Id: <1443274139-3860-3-git-send-email-mgorny@gentoo.org> X-Mailer: git-send-email 2.5.3 In-Reply-To: <1443274139-3860-1-git-send-email-mgorny@gentoo.org> References: <1443274139-3860-1-git-send-email-mgorny@gentoo.org> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org X-Archives-Salt: 36ff4088-0bfd-4472-b0f9-6b0aca41baa8 X-Archives-Hash: c7cb2f7e4e2fc1af5ef8a275996859e4 --- eclass/git-r3.eclass | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/eclass/git-r3.eclass b/eclass/git-r3.eclass index 9bc385e..eff3fa2 100644 --- a/eclass/git-r3.eclass +++ b/eclass/git-r3.eclass @@ -918,10 +918,9 @@ git-r3_peek_remote_ref() { for r in "${repos[@]}"; do einfo "Peeking \e[1m${remote_ref}\e[22m on \e[1m${r}\e[22m ..." >&2 - local is_branch lookup_ref + local lookup_ref if [[ ${remote_ref} == refs/heads/* || ${remote_ref} == HEAD ]] then - is_branch=1 lookup_ref=${remote_ref} else # ls-remote by commit is going to fail anyway, -- 2.5.3