Bug 517858 - Git client fetch commit by SHA id
Summary: Git client fetch commit by SHA id
Status: NEW
Alias: None
Product: JGit
Classification: Technology
Component: JGit (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-06-06 08:30 EDT by Eero Aaltonen CLA
Modified: 2017-06-06 08:30 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 Eero Aaltonen CLA 2017-06-06 08:30:09 EDT
cgit supports fetching commits by SHA id.

    git fetch origin <SHA1>

<SHA1> -> FETCH_HEAD


Use case is a Continouts Integration (CI) system that would need to run a CI build against a specific commit.


This was earlier discussed in mailing list
http://dev.eclipse.org/mhonarc/lists/jgit-dev/msg03273.html
and relevant post on SO
https://stackoverflow.com/a/42192223/1119345