Commit a9a730075eee70444db4ab4bbb928c29a812bbbf

Russell Belfer 2012-12-20T16:16:22

Submodule caching fix and location API This adds a new API to the submodule interface that just returns where information about the submodule was found (e.g. config file only or in the HEAD, index, or working directory). Also, the old "refresh" call was potentially keeping some stale submodule data around, so this simplfies that code and literally discards the old cache, then reallocates.