From 4bbc5dd6e7454cc35c263707453a6725bc0d54a5 Mon Sep 17 00:00:00 2001 From: Aníbal Limón Date: Tue, 14 Jul 2015 19:30:56 -0500 Subject: bitbake: fetch2/git.py: latest_versionstring search in all tags MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Don't limit the tag search for only tags end with ^{}. (Bitbake rev: 7006ab313766344cf33481228465082ed5977d28) Signed-off-by: Aníbal Limón Signed-off-by: Richard Purdie --- bitbake/lib/bb/fetch2/git.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bitbake/lib/bb/fetch2/git.py') diff --git a/bitbake/lib/bb/fetch2/git.py b/bitbake/lib/bb/fetch2/git.py index 31fd8a7206..706fff5691 100644 --- a/bitbake/lib/bb/fetch2/git.py +++ b/bitbake/lib/bb/fetch2/git.py @@ -374,7 +374,7 @@ class Git(FetchMethod): verstring = "" tagregex = re.compile(d.getVar('GITTAGREGEX', True) or "(?P([0-9][\.|_]?)+)") try: - output = self._lsremote(ud, d, "refs/tags/*^{}") + output = self._lsremote(ud, d, "refs/tags/*") except bb.fetch2.FetchError or bb.fetch2.NetworkAccess: return "" -- cgit v1.2.3-54-g00ecf