Re: more git updates..

From: Linus Torvalds
Date: Sat Apr 09 2005 - 14:55:30 EST




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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/