Bug 581637 - Local change in a nested repository goes undetected if the repository is under a linked folder
Summary: Local change in a nested repository goes undetected if the repository is unde...
Status: NEW
Alias: None
Product: EGit
Classification: Technology
Component: Core (show other bugs)
Version: 6.4   Edit
Hardware: PC Linux
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-03-06 23:00 EST by Vladimir Grishchenko CLA
Modified: 2023-03-06 23:00 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Grishchenko CLA 2023-03-06 23:00:29 EST
Consider this project layout:

project     (top-level repo)
  src       (linked folder)
    nested1 (nested repo)
      file.txt

Making a change to file.txt and saving it neither results in a "dirty" decoration nor does it result in the file.txt being shown as an unstaged change in the Git Staging view. Bad.

The change is detected if the workbench is restarted.

If I were to guess the resource delta is dropped on the floor when a file is in a subtree rooted at a linked resource ignoring the fact there is a repo below it.