{"thread":{"id":"51344","subject":"Understanding DIRC section of .git/index","startedAt":"2019-06-19T21:37:12Z","lastAt":"2019-06-19T21:37:12Z","messageCount":1,"participants":["Farhan Khan"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"377586","messageId":"d6baf00c68fa166601c2beb74cd2040b@farhan.codes","threadId":"51344","inReplyTo":null,"subject":"Understanding DIRC section of .git/index","fromName":"Farhan Khan","fromEmail":"farhan@farhan.codes","sentAt":"2019-06-19T21:37:09Z","receivedAt":"2019-06-19T21:37:12Z","isPatch":false,"sender":{"key":"farhan@farhan.codes","avatar":"https://gravatar.com/avatar/64c1dc837f48efeff1b51db4131f6ebe84b1d0c1caa43f73d8d45f2dee8e67ce?d=mp&s=160"},"body":"Hi all,\n\nI 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.\n\nThe 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?\n\nThanks,\n\n---\nFarhan Khan\nPGP Fingerprint: 1312 89CE 663E 1EB2 179C  1C83 C41D 2281 F8DA C0DE\n"}]}