Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EGit / JGit » Export/import of commits and diff between repositories in binary form
Export/import of commits and diff between repositories in binary form [message #1843297] Thu, 22 July 2021 22:34
alert terminator is currently offline alert terminatorFriend
Messages: 12
Registered: July 2021
Junior Member
Hello, I have one problem: There is a repository with 10 commits and an empty repository.
In the first repository, I take the difference between commits and the commit itself and save it to a file and I have no problems with this.

To load the difference between commits, I will use:
ApplyResult result = git.apply().setPatch(is).call();

and I have no problems with this either.
There are no problems with deserealization either, I use this:
RevCommit new–°ommit = RevCommit.parse(rawData);

But how do I add this commit to a completely empty repository?
Previous Topic:EGit cannot find the signing key
Next Topic:Create binary diff and apply binary diff
Goto Forum:
  


Current Time: Mon Sep 27 11:17:31 GMT 2021

Powered by FUDForum. Page generated in 0.02259 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top