Add support for moved file recognition

オープン
#338 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
47/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
cpp, git, godot
領域
devtools

調査の方向性

Start by locating how the plugin reads Git status and maps added and deleted files into Godot's version control UI. Compare that path with the Git CLI's rename detection for identical or similar contents, then identify where a moved file could be represented as one change. Done means moved files are recognized and displayed as a single change with an appropriate status indicator.

索引モデルが issue の本文から書いたものです。

説明

enhancement
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.).

主要言語
C++
スター
966
フォーク
100
PR マージ指標
30日以内にマージされた PR はありません

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

godotengine/godot-git-plugin のほかの issue

godotengine/godot-git-plugin の issue をすべて見る

似ている issue

C++ の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。