| Summary: | [client] [git] Git Status page fails when trying to open for a repo with detached HEAD | ||
|---|---|---|---|
| Product: | [ECD] Orion | Reporter: | Tomasz Zarna <tomasz.zarna> |
| Component: | Client | Assignee: | libing wang <libingw> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | libingw, simon_kaegi, Szymon.Brandys |
| Version: | 0.2 | Flags: | Szymon.Brandys:
review+
simon_kaegi: review+ |
| Target Milestone: | 0.2 | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
|
Description
Tomasz Zarna
1) I talked to Simon and for RC3 we should do a null check at least. 2) If the given branch JSON has Current=false it means we are in the detached mode. Then we should show the log for HEAD in the first mini-log and disable the remote one. We could also add a message somewhere saying that we are in the detached mode e.g. do not display the branch name in the header. The fix looks good, +1. fixed with a48ce0bb3d8a4ee5a2122ae9a0df39433d0f821b |