You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
precondition: A file (MyDummyClass) is present in both a master and a feature branch. The camel-casing of the file is changed in the master branch (e.g. MyDummyClass -> MydummyClass).
The master branch is merged into the feature branch. This results in the correct name-change of the file (staged Changes).
However, in addition the file is also being deleted (unstaged changes).
Actual behavior
A camel-case only change of a filename leads to a deletion of the file after a merge.
Expected behavior
After a merge, changes to the filename in the master branch should be present in the feature branch. The delete-command should not remain in the unstaged changes.
Relevant log output
Other information
Issue could be reproduced on private GitLab instance
The text was updated successfully, but these errors were encountered:
On a case-insensitive filesystem, when one renames a file to a case
variant (such as "a.txt" to "A.txt"), the unstaged viewer should
show two entries: one for deleting "a.txt" and one for adding "A.txt".
It showed only one.
When populating the viewer content, we must not use case-insensitive
comparisons. Case-insensitive comparisons are fine later for determining
the display order, but if we use case-insensitive comparisons when
creating the entries, the view will have only one entry.
This fixes the display part of [1]. The more severe problem (file
"A.txt" is deleted altogether) will be fixed in JGit.
[1] #76
Bug: egit-76
Change-Id: Ibf1a3bc5096111298c2bfa0d0a259e38793f7281
Version
6.1.0, 6.9.0
Operating System
Windows
Eclipse version
2022-03, 2024-03
Bug description
precondition: A file (MyDummyClass) is present in both a master and a feature branch. The camel-casing of the file is changed in the master branch (e.g. MyDummyClass -> MydummyClass).
The master branch is merged into the feature branch. This results in the correct name-change of the file (staged Changes).
However, in addition the file is also being deleted (unstaged changes).
Actual behavior
A camel-case only change of a filename leads to a deletion of the file after a merge.
Expected behavior
After a merge, changes to the filename in the master branch should be present in the feature branch. The delete-command should not remain in the unstaged changes.
Relevant log output
Other information
Issue could be reproduced on private GitLab instance
The text was updated successfully, but these errors were encountered: