1 |
--- |
2 |
eclass/git-r3.eclass | 3 +-- |
3 |
1 file changed, 1 insertion(+), 2 deletions(-) |
4 |
|
5 |
diff --git a/eclass/git-r3.eclass b/eclass/git-r3.eclass |
6 |
index 9bc385e..eff3fa2 100644 |
7 |
--- a/eclass/git-r3.eclass |
8 |
+++ b/eclass/git-r3.eclass |
9 |
@@ -918,10 +918,9 @@ git-r3_peek_remote_ref() { |
10 |
for r in "${repos[@]}"; do |
11 |
einfo "Peeking \e[1m${remote_ref}\e[22m on \e[1m${r}\e[22m ..." >&2 |
12 |
|
13 |
- local is_branch lookup_ref |
14 |
+ local lookup_ref |
15 |
if [[ ${remote_ref} == refs/heads/* || ${remote_ref} == HEAD ]] |
16 |
then |
17 |
- is_branch=1 |
18 |
lookup_ref=${remote_ref} |
19 |
else |
20 |
# ls-remote by commit is going to fail anyway, |
21 |
-- |
22 |
2.5.3 |