From: Nanako Shiraishi Date: Thu, 18 Dec 2008 03:34:56 +0000 (+0900) Subject: Clarify documentation of "git checkout paths" syntax X-Git-Tag: v1.6.1-rc4~22 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=ecc03c1c6db0917c06415ec3c6e1510217e59805;p=git.git Clarify documentation of "git checkout paths" syntax The SYNOPSIS section of the manual writes: git checkout [options] [] [--] ... 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 " 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 Signed-off-by: Junio C Hamano --- diff --git a/Documentation/git-checkout.txt b/Documentation/git-checkout.txt index 168333a58..79824f481 100644 --- a/Documentation/git-checkout.txt +++ b/Documentation/git-checkout.txt @@ -27,7 +27,7 @@ the first namespace level. When are given, this command does *not* switch branches. It updates the named paths in the working tree from -the index file, or from a named commit. In +the index file, or from a named (most often a commit). In this case, the `-b` options is meaningless and giving either of them results in an error. argument can be used to specify a specific tree-ish (i.e. commit, tag or tree)