Skip to content

Better support branches with special characters in them#108

Merged
stefanzweifel merged 2 commits intomasterfrom
fetch-repo-before-checkout
Oct 10, 2020
Merged

Better support branches with special characters in them#108
stefanzweifel merged 2 commits intomasterfrom
fetch-repo-before-checkout

Conversation

@stefanzweifel
Copy link
Copy Markdown
Owner

Related to #106 this PR fixes a problem when a branch like feature/name-of-the-feature couldn't correctly been checked out by the Action.

Simply calling git fetch before calling git checkout seems to fix the problem. 🤷

@stefanzweifel stefanzweifel merged commit a9d1ac4 into master Oct 10, 2020
@stefanzweifel stefanzweifel deleted the fetch-repo-before-checkout branch October 10, 2020 17:19
stefanzweifel added a commit that referenced this pull request Dec 13, 2020
This new option will allow users to skip the execution of `git fetch` if it has a negative impact in their workflows.

In a future PR I will probably remove the call to git-fetch interely. It was added in #108 in relation to a problem with slashes in branch names. That problem wasn't properly fixed though.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant