@@ -187,9 +187,14 @@ class Detector:
|
||||
self._tags.remove(tag)
|
||||
|
||||
keep_in_mind_commits: list = []
|
||||
for commit in list(new_tags.values()) + list(new_branches.values()):
|
||||
if commit not in keep_in_mind_commits:
|
||||
keep_in_mind_commits.append(commit)
|
||||
for key, value in new_branches.items():
|
||||
if not value == self._branches.get(key):
|
||||
log.debug(f"Keep in mind branch: {key} -> {value}")
|
||||
keep_in_mind_commits.append(value)
|
||||
for key, value in new_tags.items():
|
||||
if not value == self._tags.get(key):
|
||||
log.debug(f"Keep in mind tag: {key} -> {value}")
|
||||
keep_in_mind_commits.append(value)
|
||||
|
||||
# list commits
|
||||
executed_count: int = 0
|
||||
|
||||
Reference in New Issue
Block a user