diff options
author | Michał Górny <mgorny@gentoo.org> | 2015-09-26 15:19:50 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2015-11-29 11:03:17 +0100 |
commit | 6204e4f7d4f8f2bbfb155b495cf8436f83e6076a (patch) | |
tree | e6fa1af4b28d70c149b1c0de89b8531a40442215 /eclass | |
parent | d9d782110a25eeed271169a2f35ef6ee294452c8 (diff) | |
download | gentoo-6204e4f7d4f8f2bbfb155b495cf8436f83e6076a.tar.gz gentoo-6204e4f7d4f8f2bbfb155b495cf8436f83e6076a.tar.xz |
git-r3.eclass: Remove unused variable
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/git-r3.eclass | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/eclass/git-r3.eclass b/eclass/git-r3.eclass index 2a609670516..faee4588f85 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, |