JGit [message #1106470] |
Wed, 11 September 2013 02:22  |
Eclipse User |
|
|
|
Using JGit library, is there a way to figure out from which commit a branch is created?
Lets say, i have below mentioned structure - A, B, C, D commits are made in master branch. From B, another branch called branch-A is created and E & F commits are made in this branch.
A -> B -> C -> D (master)
.......|
.......|--> E -> F (branch-A)
Given the example above, if i am seeing the history of branch-A, i would like it to include only E and F commits (and nothing else before first revision in branch).
Is it possible using JGit?
|
|
|
|
Re: JGit [message #1143527 is a reply to message #1142936] |
Fri, 18 October 2013 04:44  |
Eclipse User |
|
|
|
Thanks Matthias for the response.
I realized Git doesn't store that information (like SVN which stores "copy path") so we changed our approach. As for reflog usage, i dont think that would be feasible as GIT keeps the ref logs for limited time period and we look into entire history of a project in repository.
|
|
|
Powered by
FUDForum. Page generated in 0.05048 seconds