Skip to content

Commit

Permalink
fixup! fixup! new: support annotated tags as merge source (fixes acso…
Browse files Browse the repository at this point in the history
  • Loading branch information
thomaspaulb committed Jul 18, 2023
1 parent 80095d8 commit 97c77d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion git_aggregator/repo.py
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ def init_repository(self, target_dir):
# repository
cmd += ('--filter=blob:none',)
# Try to clone target branch, if it exists
rtype, _sha = self.query_remote_ref(repository, branch)
rtype, _ref, _sha = list(self.query_remote(repository, branch))[0]
if rtype in {'branch', 'tag'}:
cmd += ('-b', branch)
# Emtpy fetch options to use global default for 1st clone
Expand Down

0 comments on commit 97c77d7

Please sign in to comment.