Skip to content

Calling magit-gptcommit from elisp #30

@osheari1

Description

@osheari1

I have some org mode workflows where I would like to call (magit-gptcommit-commit-quick) from other functions for a hook. However, this only works when a magit-gptcommit--last-message exists.

How could I go about generating the message for all existing staged files without having to be in the magit buffer?

Thank you!

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