sublime_merge icon indicating copy to clipboard operation
sublime_merge copied to clipboard

Sublime Merge crashes when pre-commit hook script crashes

Open rukano opened this issue 3 years ago • 0 comments

Version info

  • OS: macOS 12.5.1
  • Build: 2077

Description

The whole sublime merge app crashes when committing and a pre-commit script/hook crashes. It should report an error from the commit hook instead of crashing the whole app.

Steps to reproduce

Steps to reproduce the behavior:

  1. Create pre-commit hook script with a ruby script, without having ruby installed
  2. Commit something via the UI
  3. App crashes

Expected behavior

I would expect a warning or error on the console or the UI regarding the crashed or failed script instead of crashing

rukano avatar Aug 24 '22 09:08 rukano