Thread (3 messages) flat view 3 messages, 3 authors, 2021-08-10

Working with git binary stream

From: anatoly techtonik <hidden>
Date: 2021-08-09 16:13:54

Hi.

In https://lore.kernel.org/git/CAPkN8xK7JnhatkdurEb16bC0wb+=Khd=xJ51YQUXmf2H23YCGw@mail.gmail.com/T/#u (local)
it became clear that it is impossible to make fast-export followed
by fast-import to get identical commit hashes for the resulting
repository (try https://github.com/simons-public/protonfixes).
It is also impossible to detect which commits would be altered
as a result of this operation. Because fast-export/import does
some implicit commit normalization, fixing that probably requires
too much effort.

As an alternative it appeared that that theres is also a
"git binary stream" log that is produced by

git cat-file --batch --batch-all-objects

Is there a way to reconstruct the repository given that stream?
Is there documentation on how to read it?
-- 
anatoly t.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help