Clarify documentation of "git checkout <tree-ish> paths" syntax
authorNanako Shiraishi <nanako3@lavabit.com>
Thu, 18 Dec 2008 03:34:56 +0000 (12:34 +0900)
committerJunio C Hamano <gitster@pobox.com>
Thu, 18 Dec 2008 06:00:54 +0000 (22:00 -0800)
commitecc03c1c6db0917c06415ec3c6e1510217e59805
tree50fc637252e1837ef488db5db37bfddc395fdfca
parentb4955fb611ce407ef0e522862c60ae0472dbfe5e
Clarify documentation of "git checkout <tree-ish> paths" syntax

The SYNOPSIS section of the manual writes:

    git checkout [options] [<tree-ish>] [--] <paths>...

but the DESCRIPTION says that this form checks the paths out "from the
index, or from a named commit."  A later sentence refers to the same
argument as "<tree-ish> argument", but it is not clear that these two
sentences are talking about the same command line argument for first-time
readers.

Signed-off-by: Nanako Shiraishi <nanako3@lavabit.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-checkout.txt