Code

git-checkout.txt: clarify that <branch> applies when no path is given.
authorMatthieu Moy <Matthieu.Moy@imag.fr>
Tue, 7 Apr 2009 12:43:53 +0000 (14:43 +0200)
committerJunio C Hamano <gitster@pobox.com>
Wed, 8 Apr 2009 04:57:12 +0000 (21:57 -0700)
commit39470cf961e584ddb505f51bb9c452ebcfd5c569
tree851484291850cbbe60b0063513b6d77f30ed4144
parentce8936c342a15a08029c71fdc92e283e3624bc18
git-checkout.txt: clarify that <branch> applies when no path is given.

Otherwise, the sentence "Defaults to HEAD." can be mis-read to mean
that "git checkout -- hello.c" checks-out from HEAD.

Signed-off-by: Matthieu Moy <Matthieu.Moy@imag.fr>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-checkout.txt