Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 340052 - [server] GET /git/commit should return commits within a given range
Summary: [server] GET /git/commit should return commits within a given range
Status: RESOLVED FIXED
Alias: None
Product: Orion
Classification: ECD
Component: Client (show other bugs)
Version: 0.2   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 0.2   Edit
Assignee: Szymon Brandys CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 339104
Blocks:
  Show dependency tree
 
Reported: 2011-03-15 12:23 EDT by Szymon Brandys CLA
Modified: 2011-09-01 11:42 EDT (History)
1 user (show)

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-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.