|Export/import of commits and diff between repositories in binary form [message #1843297]
||Thu, 22 July 2021 22:34
| alert terminator
Registered: July 2021
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?
Powered by FUDForum
. Page generated in 0.02255 seconds