This will write a new index file to w by doing the following: 1. Sort the objects in g.Index to ascending order based on name and update g.NumberIndexEntries 2. Write g.fixedGitIndex to w 3. for each entry in g.Objects, write it to w. 4. Write the Sha1 of the contents of what was written
(file io.Writer)
source not stored for this graph (policy: none)