-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Why parent of a commit, is not a commit? #112
Comments
Yes, @ttben, it's definitely due to performance reasons. The way RepoDriller works, we always need the parent commit to perform the diff. However, creating a So, if you need it, you can get the Does that answer your question? |
Yes as it confirms that it is only for performance reasons. The issue is that, for now, But if you want to analyse branches, relation between old a new commits, integrate the notion of evolution, you have to go back and forth between I also worked with Rugged and its Maybe its just a utility method that performs the call to the This is deeply rooted in the notion of a Sorry for the long text. |
Thanks for your clear and concise explanation! That's definitely doable! We could think of implementing it. Maybe in similar way to my new PR, #111, where one can configure which data to be loaded, and |
I was wondering why the
parent
field is a String instead of a commit?I understand that building every
Commit
object for eachcommit
is the analysedGit
repository will be too heavy ; but agetCommit(String id)
call may return aCommit
object with anotherCommit
instance asparent
.WDYT ?
The text was updated successfully, but these errors were encountered: