Re: more git updates..

Linus Torvalds
2005-04-09T19:54:33Z

On Sat, 9 Apr 2005, Linus Torvalds wrote:
>
> To actually change the working directory, you'd first get the index file
> setup, and then you do a "checkout-cache -a" to update the files in your
> working directory with the files from the sha1 database.

Btw, this will not overwrite any old files, so if you have an old version
of something, you'd need to do "checkout-cache -f -a" (and order matters:
the "-f" must come first). This time I actually have a big comment at the
top of the checkout-cache.c file trying to explain the logic.

Linus