| Summary: | [server] Need better /git/status response. | ||
|---|---|---|---|
| Product: | [ECD] Orion | Reporter: | libing wang <libingw> |
| Component: | Client | Assignee: | Tomasz Zarna <tomasz.zarna> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | ||
| Version: | 0.2 | ||
| Target Milestone: | 0.2 | ||
| Hardware: | PC | ||
| OS: | All | ||
| Whiteboard: | |||
Fixed with 87a16ba64da67a3a0eb6a6352e3c84e05e8a305c. While fixing bug 338760 I'll make sure you get proper /git/diff URIs for modified and changed files. So, when you have a file that is in both staged and unstaged areas the /git/diff/ URIs for it will be different: /git/diff/{file path} for modified and a parameterized /git/diff for changed. |
Currently the /git/status response has the file full location information . But this can not be directly used in /git/diff API. A better response would be some thing like below: Modified:[{"Location":{link to content}, "Name":{name}, "Git": ["GitDiff":{link to diff } ...