We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 55b09bf + 4cb6ec0 commit 2f160a2Copy full SHA for 2f160a2
godot-git-plugin/src/git_plugin.cpp
@@ -245,7 +245,7 @@ godot::TypedArray<godot::Dictionary> GitPlugin::_get_modified_files_data() {
245
}
246
247
if (entry->status & git_status_index) {
248
- if (entry->status == GIT_STATUS_INDEX_RENAMED) {
+ if (entry->status & GIT_STATUS_INDEX_RENAMED) {
249
godot::String old_path = entry->head_to_index->old_file.path;
250
stats_files.push_back(create_status_file(old_path, map_changes.at(GIT_STATUS_INDEX_DELETED), TREE_AREA_STAGED));
251
stats_files.push_back(create_status_file(path, map_changes.at(GIT_STATUS_INDEX_NEW), TREE_AREA_STAGED));
0 commit comments