Code

git-apply: allow operating in sparsely populated working tree.
authorJunio C Hamano <junkio@cox.net>
Mon, 3 Oct 2005 20:16:39 +0000 (13:16 -0700)
committerJunio C Hamano <junkio@cox.net>
Wed, 5 Oct 2005 00:04:44 +0000 (17:04 -0700)
commit56d33b1105e63590577672de9afb920f6e7fd22c
treee59f04ade5d9ef6b77bfa377e697491cc520e414
parent4b12dae69a41471e7c8139de26c1135f7ecccbd8
git-apply: allow operating in sparsely populated working tree.

This patch teaches 'git-apply --index' to automatically check
out a file being patched.  This happens only when the working
tree does not have it checked out.

Signed-off-by: Junio C Hamano <junkio@cox.net>
apply.c