-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
UPDATE Opened a PR #4892
If you set
[status]
renames=copiesThe algo of rename detection is different than true. Now it detects based on threshold (50%) of content similarity.
This trips up lazygit status view and staging gets broken
To Reproduce
Steps to reproduce the behavior:
git initgit config status.renames copiesecho foo > foo && git add . && git commit -m foocp foo foo2mv foo foo1- now
lazygitand stage all files
Expected behavior
git status shows this scenario as
So we should either support the copied status or explicitly state we don't support renames=copies|copy I guess.
Screenshots
Version info:
-
Run
lazygit --versionand paste the result here
commit=, build date=, build source=Homebrew, version=HEAD-0d5a410, os=darwin, arch=arm64, git version=2.51.0 -
Run
git --versionand paste the result here
git version 2.51.0
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working