| Summary: | Git status command doesn't show up when repository is a parent | ||
|---|---|---|---|
| Product: | [ECD] Orion | Reporter: | John Arthorne <john.arthorne> |
| Component: | Client | Assignee: | Szymon Brandys <Szymon.Brandys> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | bokowski, libingw, Szymon.Brandys |
| Version: | 0.2 | ||
| Target Milestone: | 0.2 | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
|
Description
John Arthorne
John, did you file this because it means that the Git Status command is not available for the new auto-generated Git repositories (bug 339310)? I would suggest fixing that by auto-creating one repository per project instead of one per user. There is another problem with Git Status though - I would expect the command to show up for projects (top level folders) that are GIt repositories, but currently you have to navigate into it first and select Git Status for one of its children. Then, as a result, the Git Status page only shows changes in that child folder, not for the whole project. This is unexpected for a typical Git user since on the command line, "git status" reports all changes in the Git repository, not just the ones under the current directory. This is even potentially dangerous, assuming that the commit operation commits all staged changes in the current repository. I haven't been able to reproduce this with the new auto-generated Git repositories, but for my existing setup where I have a project for the Orion client code, I can go to this page where I see all unstaged changes: http://localhost:8080/git-status.html#http://localhost:8080/git/status/file/L But if I use the Git Status command I can end up on this page instead where I don't see changes in other directories: http://localhost:8080/git-status.html#http://localhost:8080/git/status/file/L/bundles/org.eclipse.orion.client.editor/web/ (In reply to comment #0) > Notice that the "Git status" command no longer shows up. If I craft the URL by > hand, I can see that the git status page indeed works in this case, but the user > has no way to navigate to the git status page. John, it works for me. Maybe the fix for Bug 339204 helped her too. Boris, you should see Git Status for top-level folders too. Could you verify that? Yes, I do see Git Status for top level folders now. Could we either hide the Git Status command for other resources, or make it go to git-status.html with a path after the hash that corresponds to the containing project, so that I always see the complete picture? (In reply to comment #3) > Could we either hide the Git Status command for other resources, or make it go > to git-status.html with a path after the hash that corresponds to the containing > project, so that I always see the complete picture? Bug 339351 John, is your issue fixed too? This is fixed. |