You have an object in GIT source control. It was accidentally deleted, but that delete has not yet been committed. This is how to revert that delete.
Solution Resolved for PB 2019 R3:
1. Right-click on the pbl containing the deleted object, and select import
2. Import some previous version of the object --
3. Right-click on object in PB object browser and select "Open containing folder"
4. Right-click on object file in the containing folder and select TortoiseGit
5. Select TortoiseGit->Add
6. Click OK (DO NOT COMMIT)
7. Refresh the pbl in the PB object browser.
-- Now the object should have a green check. You need to do a GIT Revert
-- If possible do a right-click and Git Revert. If this gives errors, then do the following steps.
8. If this is identical to what is in the HEAD, then you need to make a change to the object.
TortoiseGit won't allow you to a GIT Revert on an identical object. And PowerBuilder will still think it is changed.
9. Right-click on object in PB object browser and select "Open containing folder"
10. Right-click on object file marked red (if green, go to step 8) in the containing folder and select TortoiseGit
11. Select TortoiseGit->Revert
12. Click OK a couple of times
13. Refresh the pbl in the PB object browser.
git restore ws_objects/proj_obj/proj_obj.pbl.src/d_test2.srd
If this errors out, the deletion was already staged for the next commit. In that case, this will do the trick instead:
git restore --staged ws_objects/proj_obj/proj_obj.pbl.src/d_test2.srd
Then use the "Refresh" command from within PB and it's done.