git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* How crc32 value is calculated for deltified objects
@ 2019-03-02 22:08 Farhan Khan
  0 siblings, 0 replies; only message in thread
From: Farhan Khan @ 2019-03-02 22:08 UTC (permalink / raw)
  To: git

[-- Attachment #1: Type: text/plain, Size: 637 bytes --]

Hi all,

I am trying to figure out how the crc32 value is calculated for deltified
objects.

It appears that the crc32 value is updated in the use() function. After
calculating the header, the unpack_raw_entry() function will call
unpack_entry_data(). This function inflates the delta object and calls use().

My question is, does it update the crc32 value with the deltas or just the
undeltified object? And if my question implies I do not understand how this
process works, can you please explain to me how the crc32 value is constructed?

Thank you.
---
Farhan Khan
PGP Fingerprint: 1312 89CE 663E 1EB2 179C  1C83 C41D 2281 F8DA C0DE

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 659 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-03-02 22:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-02 22:08 How crc32 value is calculated for deltified objects Farhan Khan

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).