diff options
Diffstat (limited to 'bitbake/lib/bb/fetch2/git.py')
-rw-r--r-- | bitbake/lib/bb/fetch2/git.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bitbake/lib/bb/fetch2/git.py b/bitbake/lib/bb/fetch2/git.py index 53fdc4c3df..7fda9d2753 100644 --- a/bitbake/lib/bb/fetch2/git.py +++ b/bitbake/lib/bb/fetch2/git.py | |||
@@ -674,6 +674,8 @@ class Git(FetchMethod): | |||
674 | for line in all_refs_remote: | 674 | for line in all_refs_remote: |
675 | all_refs.append(line.split()[-1]) | 675 | all_refs.append(line.split()[-1]) |
676 | extra_refs = [] | 676 | extra_refs = [] |
677 | if 'tag' in ud.parm: | ||
678 | extra_refs.append(ud.parm['tag']) | ||
677 | for r in ud.shallow_extra_refs: | 679 | for r in ud.shallow_extra_refs: |
678 | if not ud.bareclone: | 680 | if not ud.bareclone: |
679 | r = r.replace('refs/heads/', 'refs/remotes/origin/') | 681 | r = r.replace('refs/heads/', 'refs/remotes/origin/') |