Tell fedmsg on dist-git to just ignore pygit2 Tag objects.
This commit is contained in:
parent
28c1442b24
commit
e800d7c035
1 changed files with 5 additions and 0 deletions
|
@ -88,6 +88,11 @@ for line in lines:
|
|||
def _build_commit(rev):
|
||||
commit = repo.revparse_single(rev)
|
||||
|
||||
# Tags are a little funny, and vary between versions of pygit2, so we'll
|
||||
# just ignore them as far as fedmsg is concerned.
|
||||
if isinstance(commit, pygit2.Tag):
|
||||
return None
|
||||
|
||||
files, total = build_stats(commit)
|
||||
|
||||
return dict(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue