diff options
| -rw-r--r-- | bitbake/lib/bb/fetch2/git.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/fetch2/git.py b/bitbake/lib/bb/fetch2/git.py index 0af8070080..e7b030998c 100644 --- a/bitbake/lib/bb/fetch2/git.py +++ b/bitbake/lib/bb/fetch2/git.py | |||
| @@ -634,7 +634,7 @@ class Git(FetchMethod): | |||
| 634 | all_refs.append(line.split()[-1]) | 634 | all_refs.append(line.split()[-1]) |
| 635 | extra_refs = [] | 635 | extra_refs = [] |
| 636 | if 'tag' in ud.parm: | 636 | if 'tag' in ud.parm: |
| 637 | extra_refs.append(ud.parm['tag']) | 637 | extra_refs.append("refs/tags/" + ud.parm['tag']) |
| 638 | for r in ud.shallow_extra_refs: | 638 | for r in ud.shallow_extra_refs: |
| 639 | if not ud.bareclone: | 639 | if not ud.bareclone: |
| 640 | r = r.replace('refs/heads/', 'refs/remotes/origin/') | 640 | r = r.replace('refs/heads/', 'refs/remotes/origin/') |
