-
Notifications
You must be signed in to change notification settings - Fork 32
Re-download checkout if failing to reset #40
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for this PR, basically I'm okay with merging it, but I'd get the two commented questions answered before doing so to keep consistency within the projects. For the same goal, I also have another question:
Given that we have git -C
calls elsewhere too (and it's always the same three calls), shouln't we refactor this to a method and do the try-catch for all cases? The method might be throwing so we can handle the error case on the usage side.
80bb12a
to
be4d7dd
Compare
If I looked it up properly, the other |
@fredpi As I've already stated:
What I mean there is that the refactored method should actually not include a |
@Dschee Sorry, I didn't read carefully -.- |
No problem, I may have been ambiguous or at least not so clear. 😅 |
dc3fad8
to
c7ec9d9
Compare
Should be good to merge now |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nearly finished, but you missed the reset of untracked files (see this commit). See comments above.
Please also remove the [WIP] in the title when it's ready for merge. :) |
Looks good now, merging. Thanks for the PR! 🎉 |
Oh no, we forgot the Changelog entry. 😄 |
Fixes #27 using a pragmatic approach.
As Accio currently fails to build (maybe only on my machine?) due to a build error in xcodeproj, this is not tested yet.