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

Show renamed files like git diff --cached? #1172

Open
nyanpasu64 opened this issue Oct 4, 2021 · 0 comments
Open

Show renamed files like git diff --cached? #1172

nyanpasu64 opened this issue Oct 4, 2021 · 0 comments

Comments

@nyanpasu64
Copy link

Right now, when you stage files which are renamed from one location to another and have high similarity, Git Extensions, Sublime Merge, and git diff --cached tell you the file was renamed (and show a diff if present), but Git Cola shows a separate removal and creation.

I think it would be useful for Git Cola to show which files Git thinks are being renamed, and also display which lines were changed during the rename.

I assume this won't be applied to unstaged renames. git diff --cached doesn't show unstaged changes, and git diff doesn't identify file renames since the new filename isn't tracked. Sublime Merge doesn't identify the rename (instead showing a deleted file and an untracked file in separate categories), and I think Git Extensions doesn't identify the rename either (though it shows the deleted and untracked file in the same pane).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant