This implements the git update-index command. It updates the index passed as a parameter, and returns it. It does *not* write it to disk, that's the responsibility of the caller.
(c *Client, idx *Index, opts UpdateIndexOptions, files []File)
source not stored for this graph (policy: none)