commit:     6204e4f7d4f8f2bbfb155b495cf8436f83e6076a
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Sep 26 13:19:50 2015 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Nov 29 10:03:17 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6204e4f7

git-r3.eclass: Remove unused variable

 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 2a60967..faee458 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,

Reply via email to