Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 347949

Summary: [server][git] Need API change to display more information on git-log view
Product: [ECD] Orion Reporter: Malgorzata Janczarska <malgorzata.tomczyk>
Component: ClientAssignee: Szymon Brandys <Szymon.Brandys>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: janikpiotrek, Szymon.Brandys, tomasz.zarna
Version: 0.2Flags: malgorzata.tomczyk: review+
Szymon.Brandys: review+
Target Milestone: 0.2   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Bug Depends on:    
Bug Blocks: 347911, 349290, 349291    

Description Malgorzata Janczarska CLA 2011-06-01 10:31:37 EDT
There is a difference in displaying log for remote and local branch in client.
For remote: we pass remote location and then we do GET to the remote location to get the CommitLocation
For local branch: we pass the CommitLocation directly 

For local branch we don't have to make a separate call to get the CommitLocation but we don't have access to branch details. The detailed information wasn't necessary until now, but if we want to fix bug 347911, we will have to have some extra details about the branch.

I see two possible resolutions of this problem
1. pass branch location to UI instead of commit location, but then we have to add DefaultBranchLocation to Git decoration in file API, because we also open git log from navigator.
2. add some extra information about branch on GET on CommitLocation

I like the 1. better because we would have the consistent approach to git log.
Comment 1 Szymon Brandys CLA 2011-06-14 04:29:48 EDT
Thanks Piotrek. This bug was about more data for local branches, so I'll release just this part. I'll raise a separate bug for adding details for remote tracking branches and tests.
Comment 2 Szymon Brandys CLA 2011-06-14 04:50:12 EDT
Fixed with 5ac145d321dc553474e65476a36e2ced173f2e4d.