]> git.ipfire.org Git - thirdparty/git.git/commit - update-cache.c
[PATCH] update-cache: add "--ignore-missing" option
authorJames Bottomley <James.Bottomley@SteelEye.com>
Sun, 24 Apr 2005 22:14:16 +0000 (15:14 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Sun, 24 Apr 2005 22:14:16 +0000 (15:14 -0700)
commitc6e007b0942a373bbf87fa3e4e11e2d90907de8c
treeb4186a52c7b88fb1e715af5ab4a94845df20414b
parent32718b6c5e8dfe3ca39731b962ec6ada40407af4
[PATCH] update-cache: add "--ignore-missing" option

This adds an --ignore-missing option to update-cache, which makes it
ignore missing files.  Together with the "-n" option to checkout-cache,
it allows me to do

    checkout-cache -n -f -a && update-cache --ignore-missing --refresh

which only updates and refreshes the files I already have checked out.

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
update-cache.c