Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 347689 - [server] /git/status response for a clone in a subfolder is wrong
Summary: [server] /git/status response for a clone in a subfolder is wrong
Status: RESOLVED FIXED
Alias: None
Product: Orion
Classification: ECD
Component: Client (show other bugs)
Version: 0.2   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 0.2   Edit
Assignee: Tomasz Zarna CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 347766
Blocks: 347688
  Show dependency tree
 
Reported: 2011-05-30 13:42 EDT by Tomasz Zarna CLA
Modified: 2011-09-01 11:42 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tomasz Zarna CLA 2011-05-30 13:42:43 EDT
In response to GET http://localhost:8080/git/status/file/x/33rd/ we get:

{
  "Added": [],
  "Changed": [],
  "CloneLocation": "/git/clone/file/x/33rd/",
  "CommitLocation": "/git/commit/HEAD/file/x/",<== SHOULD BE:  "/git/commit/HEAD/file/x/33rd/"
  "Conflicting": [],
  "IndexLocation": "/git/index/file/x/", <== SHOULD BE:  "/git/index/file/x/33rd/"
  "Missing": [],
  "Modified": [{
    "Git": {
      "CommitLocation": "/git/commit/HEAD/file/x/slides.css", <== SHOULD BE: "/git/commit/HEAD/file/x/33rd/slides.css"
      "DiffLocation": "/git/diff/Default/file/x/slides.css", <== SHOULD BE: "/git/diff/Default/file/x/33rd/slides.css"
      "IndexLocation": "/git/index/file/x/slides.css" <== SHOULD BE: "/git/index/file/x/33rd/slides.css"
    },
    "Location": "/file/x/slides.css", <== SHOULD BE: "/file/x/33rd/slides.css"
    "Name": "slides.css",
    "Path": "../slides.css"
  }],
  "Removed": [],
  "Untracked": []
}
Comment 1 Tomasz Zarna CLA 2011-06-01 16:34:55 EDT
This should be fixed now along with bug 347766.