{"thread":{"id":"7464","subject":"[PATCH] Documentation/git-rev-parse.txt: fix example in SPECIFYING RANGES.","startedAt":"2007-03-29T06:42:44Z","lastAt":"2007-03-29T06:42:44Z","messageCount":1,"participants":["Gerrit Pape"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"38284","messageId":"20070329064244.32053.qmail@f726f3c4b7218b.315fe32.mid.smarden.org","threadId":"7464","inReplyTo":null,"subject":"[PATCH] Documentation/git-rev-parse.txt: fix example in SPECIFYING RANGES.","fromName":"Gerrit Pape","fromEmail":"pape@smarden.org","sentAt":"2007-03-29T06:42:44Z","receivedAt":"2007-03-29T06:42:44Z","isPatch":true,"sender":{"key":"pape@smarden.org","avatar":"https://avatars.githubusercontent.com/u/143170252?v=4"},"body":"Please see http://bugs.debian.org/404795:\n\n In git-rev-parse(1), there is an example commit tree, which is used twice.\n The explanation for this tree is very clear: B and C are commit *parents* to\n A.\n\n However, when the tree is reused as an example in the SPECIFYING RANGES, the\n manpage author screws up and uses A as a commit *parent* to B and C!  I.e.,\n he inverts the tree.\n\n And the fact that for this example you need to read the tree backwards is\n not explained anywhere (and it would be confusing even if it was).\n\nSigned-off-by: Gerrit Pape <pape@smarden.org>\n---\n Documentation/git-rev-parse.txt |   16 ++++++++--------\n 1 files changed, 8 insertions(+), 8 deletions(-)\n\ndiff --git a/Documentation/git-rev-parse.txt b/Documentation/git-rev-parse.txt\nindex ccc66aa..a8bf656 100644\n--- a/Documentation/git-rev-parse.txt\n+++ b/Documentation/git-rev-parse.txt\n@@ -265,14 +265,14 @@ its all parents.\n \n Here are a handful examples:\n \n-   D                A B D\n-   D F              A B C D F\n-   ^A G             B D\n-   ^A F             B C F\n-   G...I            C D F G I\n-   ^B G I           C D F G I\n-   F^@              A B C\n-   F^! H            D F H\n+   D                G H D\n+   D F              G H I J D F\n+   ^G D             H D\n+   ^D B             E I J F B\n+   B...C            G H D E B C\n+   ^D B C           E I J F B C\n+   C^@              I J F\n+   F^! D            G H D F\n \n Author\n ------\n-- \n1.5.1-rc2.GIT\n"}]}