From: Jakub Narebski Date: Wed, 18 Oct 2006 00:48:49 GMT Subject: Re: VCS comparison table Message-ID: <200610180248.49713.jnareb__4216.28244589574$1161134967$gmane$org@gmail.com> In-Reply-To: <4535778D.40006@utoronto.ca> Aaron Bentley wrote: > Petr Baudis wrote: >>> 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