Skip to content

If I close the magit window before GPT commit finishes generating a result, magit-gptcommit breaks hard #20

@rogsme

Description

@rogsme

Image

Steps to reproduce:

  • Open magit and add something to the commit.
  • When GPT commit changes to "Waiting" or "Typing", quickly close the magit window.
  • Reopen magit.
  • Magit and GPT commit breaks and there's no way to recover other than a systemctl --user restart emacs.service.

If I manually run a magit-gptcommit-generate, I get "Selecting deleted buffer" in the message buffer.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions