Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 346668 - [server] Need to know which branch is the active one
Summary: [server] Need to know which branch is the active one
Status: RESOLVED FIXED
Alias: None
Product: Orion
Classification: ECD
Component: Client (show other bugs)
Version: 0.2   Edit
Hardware: PC Windows XP
: P3 minor (vote)
Target Milestone: 0.2   Edit
Assignee: Tomasz Zarna CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-20 08:50 EDT by Szymon Brandys CLA
Modified: 2011-09-01 11:42 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.