git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* Understanding DIRC section of .git/index
@ 2019-06-19 21:37 Farhan Khan
  0 siblings, 0 replies; only message in thread
From: Farhan Khan @ 2019-06-19 21:37 UTC (permalink / raw)
  To: git

Hi all,

I am trying to understand how the DIRC section works, specifically the "index entry" section. Can someone point to where in the code index files are generated? I am having trouble locating the exact place.

The documentation (Documentation/technical/index-format.txt) suggests that the code does the equivalent of stat() a file, then write the data into the index file. Is this accurate? Is there any htonl() bit rearrangement? What about for the mode or flags?

Thanks,

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

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

only message in thread, other threads:[~2019-06-19 21:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-06-19 21:37 Understanding DIRC section of .git/index 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).