Skip to content

Add support for moved file recognition #338

Open

Description

@Mambouna

Godot version

4.7 stable

Godot Git Plugin version

Unsure, can't find it anywhere in the plugin files in the project

System information

Linux Fedora 44 KDE Plasma Edition Wayland

Problem statement

I have reorganized my project structure. The git CLI command recognized the files I've moved and so sees them as renamed, treating a "deleted" file and "new" file somewhere else with the same contents correctly as a move of a single file. The Godot Git plugin does not and has a deleted file change and an added file change for every single affected file.

Proposed solution

The Godot Git plugin should recognize moved files correctly based on same or similar file contents in a deletion and added context.

It could then mark these occurrences in the UI correctly as a single change instead of two for each and maybe use another color / icon just like it currently has for different actions (new file green with a checkmark, deleted red with an X, etc.).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions