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

Bug 343247

Summary: [server] Git Commit operation returns empty response
Product: [ECD] Orion Reporter: Szymon Brandys <Szymon.Brandys>
Component: GitAssignee: Szymon Brandys <Szymon.Brandys>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: janikpiotrek, simon_kaegi, tomasz.zarna
Version: 0.2Flags: Szymon.Brandys: review+
tomasz.zarna: review+
Target Milestone: 0.2   
Hardware: PC   
OS: Windows XP   
Whiteboard: gsoc2011

Description Szymon Brandys CLA 2011-04-19 05:02:17 EDT
When changes are committed using POST /git/commit/HEAD.... the response is just 200. I would expect to see more details in the response, at least:
- the commit location
- the commit name
Comment 1 Simon Kaegi CLA 2011-06-09 11:17:11 EDT
Szymon, not sure who to assign this too. Marked for RC1 right now so want an owner.
Comment 2 Piotr Janik CLA 2011-06-09 12:25:24 EDT
My proposal: https://github.com/pjanik/orion.server/tree/bug343247

I wrote all this code and have the rights to contribute it to Eclipse under the eclipse.org web site terms of use.

In my fix, response contains the same information which is returned during log operation (GET /gitapi/commit...) - name, location, message etc.
Comment 4 Szymon Brandys CLA 2011-06-13 10:35:20 EDT
Fixed with 1bc9254ef2a3bb989b5726377b2bb96257ab345d.