Skip to content

Fix handling of SIGINT in hook script - #1027

Merged
asottile merged 1 commit into
masterfrom
keyboard_interrupt_fix
May 13, 2019
Merged

asottile merged 1 commit into
masterfrom
keyboard_interrupt_fix

Conversation

@asottile

@asottile asottile commented May 11, 2019 •

Copy link
Copy Markdown
Member

Resolves #1026

Test Plan:

  • Stage a change
  • Have an unstaged changed
  • Run git commit
  • ^C while the commit is running
  • Verify that the patch gets re-applied

Ideally there isn't output spew, but that seemed unavoidable on windows

@asottile
asottile force-pushed the keyboard_interrupt_fix branch from 3e0df83 to a471dd8 Compare May 11, 2019 04:10
@asottile
asottile force-pushed the keyboard_interrupt_fix branch from a471dd8 to 9ee727f Compare May 13, 2019 00:23
@asottile
asottile force-pushed the keyboard_interrupt_fix branch from 9ee727f to fb15fa6 Compare May 13, 2019 19:34
@asottile
asottile merged commit bd21239 into master May 13, 2019
@asottile
asottile deleted the keyboard_interrupt_fix branch May 13, 2019 20:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

KeyboardInterrupt during git is not getting forwarded properly

1 participant