Paul Krill
Editor at Large

Microsoft helps Windows 10 support large Git repos

news
Feb 3, 20172 mins

The Git Virtual File System in Windows 10 and Visual Studio can cut cloning time from 12 hours down to a few minutes

hyper drive light speed fast speeding
Credit: Thinkstock

Microsoft is augmenting Windows 10 and the Visual Studio IDE with a file system to assist developers working with large Git repos.

The company’s Git Virtual File System (GVFS), appearing in GitHub, allows the Git client to scale to repos of any size. It virtualizes the file system beneath a repo to make it appear as though all files in a repo are present, but it downloads a file only the first time it’s opened.

In explaining Microsoft’s motivation, Saeed Noursalehi, Microsoft program manager for Visual Studio Cloud Services, said the company had been bumping up against the client’s limits. “For example, the Windows codebase has over 3.5 million files and is over 270GB in size. The Git client was never designed to work with repos with that many files or that much content.” GVFS manages how much of the repo Git has to consider in operations like checkout and status; any file not already hydrated can be ignored.

With GVFS, a clone will take only a few minutes as opposed to more than 12 hours. Microsoft also has made changes to Git, so it can work well on a GVFS-backed repo. These sources are available on GitHub, as well as a protocol extension GVFS relies on.

Using GVFS requires Windows 10 Anniversary Update or higher, and it can be built with Visual Studio 2015 Community Edition or higher. While available for tryout, GVFS is still a work in progress, Microsoft cautioned. It still relies on a pre-release file system driver with binaries that are also available for preview as a NuGet package.

Paul Krill

Paul Krill is editor at large at InfoWorld. Paul has been covering computer technology as a news and feature reporter for more than 35 years, including 30 years at InfoWorld. He has specialized in coverage of software development tools and technologies since the 1990s, and he continues to lead InfoWorld’s news coverage of software development platforms including Java and .NET and programming languages including JavaScript, TypeScript, PHP, Python, Ruby, Rust, and Go. Long trusted as a reporter who prioritizes accuracy, integrity, and the best interests of readers, Paul is sought out by technology companies and industry organizations who want to reach InfoWorld’s audience of software developers and other information technology professionals. Paul has won a “Best Technology News Coverage” award from IDG.

More from this author