git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Bug report: GIT PRO/Branches chapter

From
RMRobert Macháček <lighthunt.net@gmail.com>
Date
Sep 9, 2015, 06:11 UTC
Message-ID
<CACwN7xFG0RrCZCZiUb=h-x2svV3B6Q1U5b3=3x6r08ZZM3mPmg@mail.gmail.com>
Hi,

Just reading this chapter: https://git-scm.com/book/en/v2/Git-Branching-Branches-in-a-Nutshell

I believe that: Figure 3-9. Divergent history (https://git-scm.com/book/en/v2/book/03-git-branching/images/advance-master.png) does not show the final "2 branch situation" as described in the example in this chapter. On the picture, the master and testing branch do not point to correct commit hashes in the picture. I was thinking for a while why they are swapped and the only conclusion I made is that it's simply a bug in the picture as it also does not correspond to the correct git log output in the chapter.

$ git log --oneline --decorate --graph --all
* c2b9e (HEAD, master) made other changes
| * 87ab2 (testing) made a change
I suggest to fix the picture or clarify the reason in the chapter.

Hope it helps, Robert

Next: Johannes Schindelin
Message 1 of 4 in “Bug report: GIT PRO/Branches chapter”
  1. Robert MacháčekSep 9, 2015
  2. Johannes SchindelinSep 9, 2015
  3. Robert MacháčekSep 9, 2015
  4. Jeff KingSep 9, 2015

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.