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)
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>
No differences found