Community
Participate
Working Groups
Steps: I have the following folder structure in my workspace: - folderA |- folderB | - fileC.txt folderA points at a Git repo. 1) Modify fileC.txt and use 'Git Status' for 'folderA'. You will see the Status UI with one change to stage. 2) Use 'Git Status' action on 'folderB' now. No change to stage now. It seems to be a problem with the server. GET http://localhost:8080/git/status/file/folderA/folderB has no changes in the response. { "Added": [], "Changed": [], "Missing": [], "Modified": [], "Removed": [], "Untracked": [] }
The URI should be "http://localhost:8080/git/status/file/folderA/folderB/" with a trailing separator. I must have been lost on the client side since "Git"/"StatusLocation" for a folder looks like this: "http://localhost:8080/git/status/file/{id}/folder/"
I've updated org.eclipse.orion.server.tests.servlets.git.GitStatusTest.testStatusWithPath() to verify the above -- 9437c3023d13828f6ccf998a4035d6734c00ee76.
I guess it was a problem in git-status.html somewhere. It looks like Libing or someone else fixed that in the meantime.