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

Bug 340052

Summary: [server] GET /git/commit should return commits within a given range
Product: [ECD] Orion Reporter: Szymon Brandys <Szymon.Brandys>
Component: ClientAssignee: Szymon Brandys <Szymon.Brandys>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: tomasz.zarna
Version: 0.2   
Target Milestone: 0.2   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Bug Depends on: 339104    
Bug Blocks:    

Description Szymon Brandys CLA 2011-03-15 12:23:06 EDT
So far GET /git/commit/[refId] returns commits from the beginning to the given refId. We should be able to specify the bottom boundary for the log.
Comment 1 Szymon Brandys CLA 2011-03-15 12:30:56 EDT
We may use the same format as for Git Diff API i.e.
GET /git/commit/{from}..{to}/{filePath}
Comment 2 Tomasz Zarna CLA 2011-03-16 03:31:55 EDT
(In reply to comment #1)
> We may use the same format as for Git Diff API i.e.
> GET /git/commit/{from}..{to}/{filePath}

See bug 339682.
Comment 3 Szymon Brandys CLA 2011-03-16 06:50:57 EDT
Fixed. The format is:
GET /git/commit/{fromRefId}..{toRefId}/{filePath} to get a commits range in the log.