{"thread":{"id":"25263","subject":"Re: git-checkout(1) Manual Page","startedAt":"2010-09-27T19:18:09Z","lastAt":"2010-09-27T19:18:09Z","messageCount":1,"participants":["Linus Torvalds"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"151854","messageId":"AANLkTi=on_oo9ipZQJXd1tmyS+1nf5L5_02e+3Atwyxq@mail.gmail.com","threadId":"25263","inReplyTo":"29C9CE22-0DB6-4B81-AD9E-E3F185A0201A@krankikom.de","subject":"Re: git-checkout(1) Manual Page","fromName":"Linus Torvalds","fromEmail":"torvalds@linux-foundation.org","sentAt":"2010-09-27T19:18:09Z","receivedAt":"2010-09-27T19:18:09Z","isPatch":false,"sender":{"key":"torvalds@linux-foundation.org","avatar":"https://avatars.githubusercontent.com/u/1024025?v=4"},"body":"Junio,\n as reported by Rainer.. Trivial patch attached if you want to use\nthat, or just do it yourself.\n\n                         Linus\n\nOn Mon, Sep 27, 2010 at 11:37 AM, Rainer Standke\n<rainer.standke@krankikom.de> wrote:\n> Hello Mr. Torvalds,\n>\n> I am wondering if you might need to add 'does' to the following line in the manual:\n> \"When <paths> or --patch are given, git checkout not switch branches.\"\n>\n> It might then read:\n> \"When <paths> or --patch are given, git checkout does not switch branches.\"\n>\n> Respectfully,\n>\n> Rainer Standke\n\n\nFrom 83967b95dd82fa0bdcc72a801c93e591d0560e2a Mon Sep 17 00:00:00 2001\nFrom: Linus Torvalds <torvalds@linux-foundation.org>\nDate: Mon, 27 Sep 2010 12:14:57 -0700\nSubject: [PATCH] Fix missing 'does' in man-page for 'git checkout'\n\nReported-by: Rainer Standke <rainer.standke@krankikom.de>\nSigned-off-by: Linus Torvalds <torvalds@linux-foundation.org>\n---\n Documentation/git-checkout.txt |   16 ++++++++--------\n 1 files changed, 8 insertions(+), 8 deletions(-)\n\ndiff --git a/Documentation/git-checkout.txt b/Documentation/git-checkout.txt\nindex f88e997..22d3611 100644\n--- a/Documentation/git-checkout.txt\n+++ b/Documentation/git-checkout.txt\n@@ -45,14 +45,14 @@ successful.\n \n 'git checkout' [--patch] [<tree-ish>] [--] <pathspec>...::\n \n-\tWhen <paths> or `--patch` are given, 'git checkout' *not* switch\n-\tbranches.  It updates the named paths in the working tree from\n-\tthe index file or from a named <tree-ish> (most often a commit).  In\n-\tthis case, the `-b` and `--track` options are meaningless and giving\n-\teither of them results in an error. The <tree-ish> argument can be\n-\tused to specify a specific tree-ish (i.e. commit, tag or tree)\n-\tto update the index for the given paths before updating the\n-\tworking tree.\n+\tWhen <paths> or `--patch` are given, 'git checkout' does *not*\n+\tswitch branches.  It updates the named paths in the working tree\n+\tfrom the index file or from a named <tree-ish> (most often a\n+\tcommit).  In this case, the `-b` and `--track` options are\n+\tmeaningless and giving either of them results in an error.  The\n+\t<tree-ish> argument can be used to specify a specific tree-ish\n+\t(i.e.  commit, tag or tree) to update the index for the given\n+\tpaths before updating the working tree.\n +\n The index may contain unmerged entries because of a previous failed merge.\n By default, if you try to check out such an entry from the index, the\n-- \n1.7.3\n\n"}]}