Hi,
Initially posted here: eclipse-egit/egit#175
But it seems it's no Egit issue, but a PDT issue (see comments there).
Version
7.6.0.202603022253-r
Operating System
Windows
Eclipse version
4.39.0.v20260226-0420
Bug description
I'd like to partially stage changes to a file.
The modified file is saved and appears in the "Unstaged Changes" panel of the staging view.
Right-click + Compare with index => I can see my changes in the compare view, "Local:" on the left side, "Index (editable)" on the right side
Now I'm trying to edit the "editable" right side. Be it direct keybord edits, be it "Copy current change from left to right" click, Eclipse doesn't see the right panel's content as modified:
no "*" prefix on the "Cmpare myscript.php Current and Index" tab
"save" and "save as" icons disabled
menu file/save, save as, save all disabled
ctrl-S = no effect
I did following tests to troubleshoot or at least analyse possible causes:
try this on a brand new project, new git, it worked once, then no more (not even on another brand new project+git later)
created even a new workspace with new project and new git => no success
at some point, I finally had the compared Index seen as modified and saveable, but no idea why, and then no more, again. I couldn't find out yet, what unblocked the situation.
Please note: when comparing 2 files using "compare with each other", there's no problem, each edit right or left is detected and can be saved.
Please tell me what complementary information I can bring...
It seems to work perfectly for others (eclipse-egit/egit#28 (comment)), so there probably is something in my Eclipse/workspace/project configuration, where should I be looking?
Actual behavior
Any modification in the right "editable" Index part is ignored and can't be saved.
Image
Initial compare view:
Image
After a few edits and copy-left-to-right-clicks: no "modified" asterisk in tab, no active save buttons
Image
Expected behavior
I expect to be able to save the edits in the "editable" right part, so I can proceed to partial commits
Hi,
Initially posted here: eclipse-egit/egit#175
But it seems it's no Egit issue, but a PDT issue (see comments there).
Version
7.6.0.202603022253-r
Operating System
Windows
Eclipse version
4.39.0.v20260226-0420
Bug description
I'd like to partially stage changes to a file.
The modified file is saved and appears in the "Unstaged Changes" panel of the staging view.
Right-click + Compare with index => I can see my changes in the compare view, "Local:" on the left side, "Index (editable)" on the right side
Now I'm trying to edit the "editable" right side. Be it direct keybord edits, be it "Copy current change from left to right" click, Eclipse doesn't see the right panel's content as modified:
I did following tests to troubleshoot or at least analyse possible causes:
Please note: when comparing 2 files using "compare with each other", there's no problem, each edit right or left is detected and can be saved.
Please tell me what complementary information I can bring...
It seems to work perfectly for others (eclipse-egit/egit#28 (comment)), so there probably is something in my Eclipse/workspace/project configuration, where should I be looking?
Actual behavior
Any modification in the right "editable" Index part is ignored and can't be saved.
Image
Initial compare view:
Image
After a few edits and copy-left-to-right-clicks: no "modified" asterisk in tab, no active save buttons
Image
Expected behavior
I expect to be able to save the edits in the "editable" right part, so I can proceed to partial commits