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

Bug 346668

Summary: [server] Need to know which branch is the active one
Product: [ECD] Orion Reporter: Szymon Brandys <Szymon.Brandys>
Component: ClientAssignee: Tomasz Zarna <tomasz.zarna>
Status: RESOLVED FIXED QA Contact:
Severity: minor    
Priority: P3    
Version: 0.2   
Target Milestone: 0.2   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Szymon Brandys CLA 2011-05-20 08:50:18 EDT
When I do a call like GET http://localhost:8080/git/branch/file/a/, I get a list of clone's branches. I need to know which one is the active one.
Comment 1 Tomasz Zarna CLA 2011-05-20 10:13:51 EDT
Fixed with http://git.eclipse.org/c/e4/org.eclipse.orion.server.git/commit/?id=c96aca8e7319c4d83a3a2cc0299c02d321ed9449. Added an extra field named : "Current" [1].

[1] org.eclipse.orion.server.git.GitConstants.KEY_BRANCH_CURRENT.