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

Fix error when unstaging file with no HEAD commit #100 #101

Conversation

twaritwaikar
Copy link
Contributor

@twaritwaikar twaritwaikar commented Jan 15, 2022

This also fixes an issue with diffing staged files when there is no previous HEAD commit.

Under the issue, I have also mentioned that the Godot editor may need a change to be able to recover from the case when an unstaging/staging does not succeed. However, it seems that handling that error inside the plugin is easier to handle. So for now we can leave the editor as is, or at least for solving this particular issue.

Fixes #100

This also fixes an issue with diffing staged files when there is
no previous HEAD commit
@twaritwaikar twaritwaikar force-pushed the fix-unstage-when-no-initial-commit branch from 5cdf582 to acc0901 Compare January 15, 2022 12:28
@twaritwaikar twaritwaikar merged commit 7a08c91 into godotengine:master Jan 15, 2022
@twaritwaikar twaritwaikar deleted the fix-unstage-when-no-initial-commit branch January 15, 2022 12:42
@Calinou Calinou added the bug label Jan 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Crash when clicking multiple times at staged changes
2 participants