Skip to content

Commit

Permalink
Allow to retrieve branches whose names contain a forward slash (/) (#257
Browse files Browse the repository at this point in the history
)
  • Loading branch information
sbilque authored Dec 15, 2024
1 parent b43df71 commit 247927b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/action/git_retrieve.py
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ def _get_branches(self: T) -> None:
if line.startswith("*"):
self._branches.append(line.split()[1])
else:
self._branches.append(line.split("/")[-1])
self._branches.append(line.split("origin/")[-1])
self._result.branches = self._branches

timestamp = (
Expand Down

0 comments on commit 247927b

Please sign in to comment.