Working with git binary stream

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi.

In https://lore.kernel.org/git/CAPkN8xK7JnhatkdurEb16bC0wb+=Khd=xJ51YQUXmf2H23YCGw@xxxxxxxxxxxxxx/T/#u
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.



[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux