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

Bug 342845

Summary: [git][server] Merging with GitCommitUri should be allowed only when the URI points to HEAD
Product: [ECD] Orion Reporter: Tomasz Zarna <tomasz.zarna>
Component: GitAssignee: Project Inbox <orion.git-inbox>
Status: RESOLVED WONTFIX QA Contact:
Severity: normal    
Priority: P3 CC: Szymon.Brandys
Version: 0.2   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Tomasz Zarna CLA 2011-04-14 10:30:36 EDT
Mergining (POSTing to GitCommitUri with {"Merge": "<commit>"} in body) should be only allowed when the URI points to a currently checked out branch. POSTing on a different URI should return 400 (Bad Request) or 405 (Method Not Allowed).
Comment 1 John Arthorne CLA 2015-05-05 14:52:36 EDT
Closing as part of a mass clean up of inactive bugs. Please reopen if this problem still occurs or is relevant to you. For more details see:

https://dev.eclipse.org/mhonarc/lists/orion-dev/msg03444.html