Repository navigation
Show a renamed file as one rename in Review, so its history follows it - #93
Merged
Merged
Conversation
FRM-05 is now a GWT acceptance scenario: given Git Good was just opened, when the folder is not a Git repository and not inside one, then it opens on the welcome view. The Reopen the last repository preference, which opened the most recent repository instead and was on by default, is removed with its launch fallback; an old "reopen_last" key in settings.json is ignored. FRM-06 covers a launch in a repository's subfolder, which opens that repository. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WX3sFiNbkTC6gZUVCPGT3o
Reported on baol/recipes: after renaming Focaccia.md, Review of the rename commit listed the old path as deleted and the new one as added with every line new, so the file's history looked cut at the rename. Review now pairs renames as git diff -M does (exact moves and moves with edits, 50 % similarity), with gix's tree diff in process, read only when a comparison adds or deletes a file. A rename is one change at the new path with the old side and old_path/old_path_bytes, marked R in the file list; File history on it crosses the rename. The CLI's show lists kind "renamed" with old_path, and --file accepts either path. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WX3sFiNbkTC6gZUVCPGT3o
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WX3sFiNbkTC6gZUVCPGT3o
baol
pushed a commit
that referenced
this pull request
Nov 8, 2026
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WX3sFiNbkTC6gZUVCPGT3o
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Reported on
baol/recipes: after renamingdocs/Pane e pizza/Focaccia.md, Review of the rename commit listed− Focaccia.mdand+ Focaccia genovese.mdwith all 42 lines added. The file's history looked cut off at the rename, because Review (M1) had no rename detection.Change
git diff -Mdoes it: exact moves and moves with edits, at 50 % similarity, no copies.git diff-tree -M, but the RULE-16 parity test caught it adding a command beside a cherry-pick.renamedchange at the new path. It carries the old side andold_path/old_path_bytes, and the deleted source is not listed.R, with the tooltipR Renamed from <old path>. Pressing H on it opens File history, which continues past the rename to the commit that added the file.showlistskind: "renamed"withold_path, and--fileaccepts either path.Tests
renames_are_one_change_with_the_old_path_as_git_pairs_them(crates/git): an exact move and a move with an edit; an unrelated delete and add stay separate.a_renamed_file_reviews_as_one_rename_and_its_history_crosses_it(app): reviews a rename in a folder with spaces, findsFILES 1andR, then pressesHand findsFILE HISTORY 3with← Pane e pizza/Focaccia.md.docs/acceptance.mdare updated. REV-58's GUI path is now automated.On the recipes clone,
git good --cli show HEADnow lists onerenamedentry.Checks
fmt, clippy
-D warningsand the full workspace tests (including the RULE-16 parity tests) pass, and the README screenshot--checkpasses.Generated by Claude Code