Code

git-checkout: allow pathspec to recover lost working tree directory
authorJunio C Hamano <junkio@cox.net>
Wed, 15 Nov 2006 18:54:10 +0000 (10:54 -0800)
committerJunio C Hamano <junkio@cox.net>
Wed, 15 Nov 2006 20:01:44 +0000 (12:01 -0800)
commitbf7e1472df65c948581e2fecd494eccfaa40b9d9
treef3cdde9ca4a5a0c4f30c6b0fc6ef6542f3349723
parent897643cc79cb8c05694c98a4fb0560c78952db3e
git-checkout: allow pathspec to recover lost working tree directory

It is often wanted on the #git channel that this were to work to
recover removed directory:

rm -fr Documentation
git checkout -- Documentation
git checkout HEAD -- Documentation ;# alternatively

Now it does.

Signed-off-by: Junio C Hamano <junkio@cox.net>
git-checkout.sh