git-r3.eclass: Remove unused variable
authorMichał Górny <mgorny@gentoo.org>
Sat, 26 Sep 2015 13:19:50 +0000 (15:19 +0200)
committerMichał Górny <mgorny@gentoo.org>
Sun, 29 Nov 2015 10:03:17 +0000 (11:03 +0100)
eclass/git-r3.eclass

index 2a609670516cb1ea7b16adcfda51568cee6ebfd8..faee4588f852dc1ca949f3c1064b23a4cef53cf5 100644 (file)
@@ -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,