| Summary: | [server] Git status should return all changes in the repo | ||
|---|---|---|---|
| Product: | [ECD] Orion | Reporter: | Szymon Brandys <Szymon.Brandys> |
| Component: | Client | Assignee: | Tomasz Zarna <tomasz.zarna> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | bokowski, john.arthorne, libingw |
| Version: | 0.2 | ||
| Target Milestone: | 0.2 | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
|
Description
Szymon Brandys
Do you believe this would require a change to the Git server API, or could it be handled on the client side? Btw, the Git Status page should show the name of the project it is showing status for. (In reply to comment #1) > Do you believe this would require a change to the Git server API, or could it be > handled on the client side? The easiest fix would be to hide "Git status" action for items other then top-level folders. But a proper fix would require a change on the server side. I'm on it, I was about to have a look at Git server API for status anyway - bug 339341. (In reply to comment #2) > Btw, the Git Status page should show the name of the project it is showing > status for. Project or selected subfolder. I raised Bug 339385 for it. Fixed with 51b73556d8c9f3d2802e423fb58c1692cd0bf46f. /git/status response returns all changes now. There is a new entry called "Path"[1] which contains a relative path (eg. "../file.txt"). Libing, I'm not sure which one is better for you "Name" or "Path", but displaying "Path" would give a result similar to using git CLI. Trying to get status for a file will return 400 - bad request. Szymon will try to turn off the status action for files (bug 339393). [1] org.eclipse.orion.server.git.GitConstants.KEY_PATH |