janxious / BattleTechModLoader

A simple mod loader and injector for HBS's PC game BattleTech.
The Unlicense
15 stars 1 forks source link

exception handler for missing .orig file when using /restore switch #3

Closed gnivler closed 6 years ago

gnivler commented 6 years ago

Goal was functionally the same as before, but matching this new code style. Just checks for the existence of the backup when /restore is used, and displays an error and English suggestions.

gnivler commented 6 years ago

I would love to, they crept in on my final commit of course...

gnivler commented 6 years ago

the only way I know how to do this is by recreating the PR so I'll do that

CptMoore commented 6 years ago

Variant A

Mixed reset of branch Commit again git push -f

Variant B

Checkout offending file from untouched branch Commit that

gnivler commented 6 years ago

Awesome, thanks for the tips that is a lot easier and cleaner.

On Thu, Aug 9, 2018 at 1:46 AM CptMoore notifications@github.com wrote:

Variant A

Mixed reset of branch Commit again git push -f

Variant B

Checkout offending file from untouched branch Commit that

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/janxious/BattleTechModLoader/pull/3#issuecomment-411668645, or mute the thread https://github.com/notifications/unsubscribe-auth/ARmQpdtiU2w5niux0q6ExEn5sUEzliFRks5uO-jhgaJpZM4V04Wr .