{"thread":{"id":"37963","subject":"Question about chapter \"3.1 Git Branching - Branches in a Nutshell\" in git docu","startedAt":"2014-11-14T14:39:29Z","lastAt":"2014-11-14T15:15:21Z","messageCount":2,"participants":["Axel Magard","Jeff King"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"251885","messageId":"OF6CCD47D8.ABB2F49C-ONC1257D90.004E1845-C1257D90.005084C1@de.ibm.com","threadId":"37963","inReplyTo":null,"subject":"Question about chapter \"3.1 Git Branching - Branches in a Nutshell\" in git docu","fromName":"Axel Magard","fromEmail":"axel_magard@de.ibm.com","sentAt":"2014-11-14T14:39:29Z","receivedAt":"2014-11-14T14:39:29Z","isPatch":false,"sender":{"key":"axel_magard@de.ibm.com","avatar":null},"body":"Hi folks,\neither I still didn't grasp it or there is a mistake in chapter 3.1 \"3.1 \nGit Branching - Branches in a Nutshell\" \n(http://git-scm.com/book/en/v2/Git-Branching-Branches-in-a-Nutshell)\n\nThe last figure on that page shows that branch 'master' and HEAD are \npointing to patch 87ab2, branch 'testing' to c2b9e.\n \nBut the output from git log --oneline --decorate --graph --all \nshows this:\n\n* c2b9e (HEAD, master) made other changes\n| * 87ab2 (testing) made a change\n|/\n* f30ab add feature #32 - ability to add new formats to the\n* 34ac2 fixed bug #1328 - stack overflow under certain conditions\n* 98ca9 initial commit of my project\n\nShouldn't it look like this ?\n\n* 87ab2 (HEAD, master) made a change\n| * c2b9e (testing) made other changes\n|/\n* f30ab add feature #32 - ability to add new formats to the\n* 34ac2 fixed bug #1328 - stack overflow under certain conditions\n* 98ca9 initial commit of my project\n\nCheers ... Axel Magard \n"},{"id":"251887","messageId":"20141114151521.GA21950@peff.net","threadId":"37963","inReplyTo":"OF6CCD47D8.ABB2F49C-ONC1257D90.004E1845-C1257D90.005084C1@de.ibm.com","subject":"Re: Question about chapter \"3.1 Git Branching - Branches in a Nutshell\" in git docu","fromName":"Jeff King","fromEmail":"peff@peff.net","sentAt":"2014-11-14T15:15:21Z","receivedAt":"2014-11-14T15:15:21Z","isPatch":false,"sender":{"key":"peff@peff.net","avatar":"https://avatars.githubusercontent.com/u/45925?v=4"},"body":"On Fri, Nov 14, 2014 at 03:39:29PM +0100, Axel Magard wrote:\n\n> Hi folks,\n> either I still didn't grasp it or there is a mistake in chapter 3.1 \"3.1 \n> Git Branching - Branches in a Nutshell\" \n> (http://git-scm.com/book/en/v2/Git-Branching-Branches-in-a-Nutshell)\n> \n> The last figure on that page shows that branch 'master' and HEAD are \n> pointing to patch 87ab2, branch 'testing' to c2b9e.\n>  \n> But the output from git log --oneline --decorate --graph --all \n> shows this:\n> \n> * c2b9e (HEAD, master) made other changes\n> | * 87ab2 (testing) made a change\n> |/\n> * f30ab add feature #32 - ability to add new formats to the\n> * 34ac2 fixed bug #1328 - stack overflow under certain conditions\n> * 98ca9 initial commit of my project\n> \n> Shouldn't it look like this ?\n> \n> * 87ab2 (HEAD, master) made a change\n> | * c2b9e (testing) made other changes\n> |/\n> * f30ab add feature #32 - ability to add new formats to the\n> * 34ac2 fixed bug #1328 - stack overflow under certain conditions\n> * 98ca9 initial commit of my project\n\nI think that the git-log output is right. In the examples above, it\nshows \"made a change\" on the \"testing\" branch, and \"made other changes\"\non the master branch.\n\nBut it is the figure directly above it that is wrong. Even if you look\nat the other figures, it is clear that 87ab2 is on the \"testing\" branch.\nBut in the final diagram, the two are swapped. Looks like somebody has\nreported this upstream already:\n\n  https://github.com/progit/progit2/issues/136\n\n-Peff\n"}]}