1 |
commit: 6204e4f7d4f8f2bbfb155b495cf8436f83e6076a |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Sep 26 13:19:50 2015 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Nov 29 10:03:17 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6204e4f7 |
7 |
|
8 |
git-r3.eclass: Remove unused variable |
9 |
|
10 |
eclass/git-r3.eclass | 3 +-- |
11 |
1 file changed, 1 insertion(+), 2 deletions(-) |
12 |
|
13 |
diff --git a/eclass/git-r3.eclass b/eclass/git-r3.eclass |
14 |
index 2a60967..faee458 100644 |
15 |
--- a/eclass/git-r3.eclass |
16 |
+++ b/eclass/git-r3.eclass |
17 |
@@ -918,10 +918,9 @@ git-r3_peek_remote_ref() { |
18 |
for r in "${repos[@]}"; do |
19 |
einfo "Peeking \e[1m${remote_ref}\e[22m on \e[1m${r}\e[22m ..." >&2 |
20 |
|
21 |
- local is_branch lookup_ref |
22 |
+ local lookup_ref |
23 |
if [[ ${remote_ref} == refs/heads/* || ${remote_ref} == HEAD ]] |
24 |
then |
25 |
- is_branch=1 |
26 |
lookup_ref=${remote_ref} |
27 |
else |
28 |
# ls-remote by commit is going to fail anyway, |