]> source.dussan.org Git - jgit.git/commit
CommitGraphWriter: Assert written bytes 23/204123/2
authorIvan Frade <ifrade@google.com>
Tue, 5 Sep 2023 17:17:52 +0000 (10:17 -0700)
committerIvan Frade <ifrade@google.com>
Tue, 5 Sep 2023 17:30:23 +0000 (10:30 -0700)
commitf90f0717a0abe08a58dd92c9b05d3f6c7144d3d9
treeee5810511b5e4f1b43fdc2f98ab332311d3a3d23
parent13c8dacae55b8719d228b303570c369231f7c1c1
CommitGraphWriter: Assert written bytes

The final size of the commit-graph is known before-hand. As a
safety-net, assert the written size matches the expected value.

Change-Id: Ib0828a7cce5bacb33f6325ee3910f4eebd95eb8c
org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/commitgraph/CommitGraphWriter.java