Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: switch the order of skip when existing and script execution #517

Open
1 of 2 tasks
ns-ggeorgiev opened this issue Dec 18, 2024 · 1 comment
Open
1 of 2 tasks
Labels
enhancement New feature or request

Comments

@ns-ggeorgiev
Copy link

The feature request
Currently when the conflict-strategy: skip is set, the check if the branch already exists is only made after the script is executed. That essentially make the script execution completely pointless since the changes will be thrown away.

My use case
I have a lot of repos 70+ and some time slow script. In this case if I have to rerun the script it takes way longer that it could.

Implementation

  • I would like to contribute this feature if it's a suitable addition to multi-gitter
  • I have no intention of adding this feature myself.
@ns-ggeorgiev ns-ggeorgiev added the enhancement New feature or request label Dec 18, 2024
@lindell
Copy link
Owner

lindell commented Dec 20, 2024

This does absolutely make sense. Most of the scripts I've personally run are usually very small so it has not really mattered, but for long running script I can see this being an issue and there is not reason other than slightly cleaner code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants