Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 339215

Summary: [client] Git Status doesn't show a modified file
Product: [ECD] Orion Reporter: Tomasz Zarna <tomasz.zarna>
Component: ClientAssignee: libing wang <libingw>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 0.2   
Target Milestone: 0.2   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Git Status none

Description Tomasz Zarna CLA 2011-03-08 08:07:31 EST
1. Create a project and link it to an existing (local) repository
2. Modify file in Orion
3. Display "Git Status" for the file
=> Unstaged/Staged section are empty
=> Firebug console shows "prefsService.getPreferences is not a function / prefsService.getPreferences("/window").then(function (prefs) {"
Comment 1 Tomasz Zarna CLA 2011-03-08 08:08:13 EST
Created attachment 190653 [details]
Git Status
Comment 2 Tomasz Zarna CLA 2011-03-08 09:07:51 EST
GET http://localhost:8080/git/status/file/BS/ gives this result:

{
  "Added": [],
  "Changed": [],
  "Missing": [],
  "Modified": [{
    "Git": {
      "CommitLocation": "http://localhost:8080/git/commit/HEAD/file/BS/folder/folder.txt",
      "DiffLocation": "http://localhost:8080/git/diff/Default/file/BS/folder/folder.txt"
    },
    "Location": "http://localhost:8080/file/BS/folder/folder.txt",
    "Name": "folder/folder.txt"
  }],
  "Removed": [],
  "Untracked": []
}
Comment 3 Tomasz Zarna CLA 2011-03-08 10:13:22 EST
Fixed by Libing with 5b24812f6ca2490b0720b4d9b8c8165b4813d21a.
Comment 4 libing wang CLA 2011-03-09 12:34:18 EST
verified.