Re: VCS comparison table
From: Jakub Narebski <hidden>
Date: 2016-06-15 22:42:44
Aaron Bentley wrote:
Petr Baudis wrote:quoted
quoted
this only makes sense if you have a fast access to the repository (otherwise, you consider your local repository as a cache, and you're ready to pay the disk space price to save your bandwidth). In this case, it's often in your filesystem (local or NFS).So how is the light checkout actually implemented? Do you grab the complete new snapshot each time the remote repository is updated?No, the lightweight checkouts store very little. They have - a copy of tree shape (filenames, paths, sha1 sums) from the last commit. - a copy of tree shape for the current working directory - a map from stat values to sha-1 hashes
Ah. So in git terminology it stores index and working directory (and perhaps the name of branch). -- Jakub Narebski Poland