Skip to content

Error when amending commit #61

@patrikpajas

Description

@patrikpajas

"committia: git: Failed to execute command" error when amending the commit.

The error occurs in the committia#git#diff() method, where the s:execute_git(g:committia#git#diff_cmd) is not wrapped with a try/catch statement, as it has already been done in committia#git#status().

results in:
[on](error: unable to load config blob object '9aaef36301288211cb852e26750493c74906fb3a'^@diff)

Please, wrap the s:execute_git(g:committia#git#diff_cmd) in committia#git#diff() in the
committia.vim/autoload/committia/git.vim:162 with the try/catch statement or resolve the issue.

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