| Summary: | [client] all my git diffs are failing running latest code from git | ||
|---|---|---|---|
| Product: | [ECD] Orion | Reporter: | Susan McCourt <susan> |
| Component: | Client | Assignee: | Tomasz Zarna <tomasz.zarna> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | major | ||
| Priority: | P3 | CC: | libingw, mamacdon |
| Version: | 0.2 | Flags: | malgorzata.tomczyk:
review+
|
| Target Milestone: | 0.2 | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
|
Description
Susan McCourt
For the two-way compare, I'm seeing something that looks like path munging. For example: http://localhost:8080/compare/compare.html#/gitapi/diff/Default/file/k/bundles/bundles/org.eclipse.orion.client.core/web/orion/breadcrumbs.js This fails. If I change the browser bar location so get rid of the extra "/bundles" segment, then it works. Mark noticed that it works correctly if you open git-status from the root directory of the repo. But if you open git-status from somewhere below the root, you see both of these diff errors. This is very discouraging because I thought git-status is not supposed to be scoped in any way. (In reply to comment #2) > This is very discouraging because I thought git-status is not supposed to be > scoped in any way. I'm saying this based on discussion from bug 339558 (in particular see bug 339558 comment 9 and bug 339558 comment 10). Whether or not we show the git-status command from subfolders, I would expect the page to behave the same once it opens. It seems like we have a subtle difference somewhere that shouldn't be so. (In reply to comment #2) > Mark noticed that it works correctly if you open git-status from the root > directory of the repo. > > But if you open git-status from somewhere below the root, you see both of these > diff errors. > > This is very discouraging because I thought git-status is not supposed to be > scoped in any way. I reproduced it in a sub folder , investigating it now. Hi , Tomasz : Please look at this . When I go to git status page from a sub folder , from the git status REST API I saw that the all the file locations have double "/bundles" CommitLocation "/gitapi/commit/HEAD/file/K/bundles/bundles/org.eclipse.orion.client.core/web-ide.conf" DiffLocation "/gitapi/diff/Default/file/K/bundles/bundles/org.eclipse.orion.client.core/web-ide.conf" IndexLocation "/gitapi/index/file/K/bundles/bundles/org.eclipse.orion.client.core/web-ide.conf" Location "/file/K/bundles/bundles/org.eclipse.orion.client.core/web-ide.conf" Name "bundles/org.eclipse.orion.client.core/web-ide.conf" Path "org.eclipse.orion.client.core/web-ide.conf" |