I think that it would be a worthwhile project, from the point of view of
making the code easier to follow and making the internal APIs clearer, to
organize git's source to abstract the object database to read_sha1_file(),
has_sha1_file(), hash_sha1_file(), and write_sha1_file() as the arbiters
of what is in the local database (with other functions public as support
for over-the-wire protocols, which may, by not-really-coincidence, by used
for local storage as well); then Windows could have an entirely different
storage mechanism that doesn't rely on filesystem metadata speed.
It would also be worthwhile to untangle the index's stat cache aspects and
its tree-object-related aspects, so that there can be a platform- and
repository-specific concept of how to handle the working area, and then
Windows could do different stuff for the default case of setting up a
directory on the local filesystem.
-Daniel
*This .sig left intentionally blank*
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html