apply --cached: apply a patch without using working tree.
authorJunio C Hamano <junkio@cox.net>
Mon, 15 May 2006 22:15:47 +0000 (15:15 -0700)
committerJunio C Hamano <junkio@cox.net>
Tue, 16 May 2006 00:56:53 +0000 (17:56 -0700)
commit04e4888e5a6db847368a95eb986202fa460b2153
tree283d59e96b2f327cca977d18191d27d562b1588d
parent49e3343c9fe0e134e0a8c1ec0ddeb64ae18ee9fd
apply --cached: apply a patch without using working tree.

A new flag "--cached" takes the cached data, applies the patch
and stores the result in the index, without using the working
tree.

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