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 a comparision bug with renamed git statuses #189

Merged
merged 1 commit into from
Oct 3, 2023

Conversation

fries1234
Copy link
Contributor

there is a bug where if you have a entry->status with GIT_STATUS_INDEX_RENAMED but with another flag like GIT_STATUS_INDEX_MODIFIED, godot-git-plugin will crash godot entirely with a c++ out of range exception as it cant find the proper mapped value for 2 flags. so i changed it to do a logical and so it can execute the proper renamed logic.

there is a bug where if you have a entry->status with GIT_STATUS_INDEX_RENAMED but with another flag like GIT_STATUS_INDEX_MODIFIED, godot-git-plugin will crash as it cant find the proper map for 2 flags. so i changed it to do a logical and so it can execute the proper renamed logic.
@fries1234
Copy link
Contributor Author

fries1234 commented May 19, 2023

i think this might fix #179, #188, #171, #184, as i also had godot crash every time i opened it with a strange no-context (this means no back traces) c++ exception. so i had to pull out the debugger.

@fries1234
Copy link
Contributor Author

oh yeah, it looks like the linux CI here is using ubuntu 18.04 which GitHub seens to have stopped supported on april 1st. so if anyones wondering why the CI is in an infinte loop of doing nothing.

@Calinou Calinou added the bug label May 22, 2023
@fries1234
Copy link
Contributor Author

bump

@twaritwaikar twaritwaikar reopened this Oct 3, 2023
@twaritwaikar
Copy link
Contributor

Re-opened to trigger CI checks again

@twaritwaikar twaritwaikar merged commit 2f160a2 into godotengine:master Oct 3, 2023
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.

3 participants