Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when amending commit #61

Open
patrikpajas opened this issue Nov 25, 2022 · 0 comments
Open

Error when amending commit #61

patrikpajas opened this issue Nov 25, 2022 · 0 comments

Comments

@patrikpajas
Copy link

patrikpajas commented Nov 25, 2022

"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.

@patrikpajas patrikpajas changed the title Error when ammending commit Error when amending commit Nov 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant