Errata

Your Code as a Crime Scene

Errata for Your Code as a Crime Scene

Submit your own errata for this product.

The errata list is a list of errors and their corrections that were found after the product was released.

The following errata were submitted by our customers and have not yet been approved or disproved by the author or editor. They solely represent the opinion of the customer.

Color Key: Serious technical mistake Minor technical mistake Language or formatting error Typo Question Note Update

Version Location Description Submitted by Date submitted
Printed Page 24
5

the instructions to see the example on page 25 indicate to run the following command:

git checkout `git rev-list -n 1 --before="2013-11-01"

The output of the command matches, but the example on page 25 is not visible with the subsequent command

git log --numstat

In order to see the commits from the example, the previous command should be

git checkout `git rev-list -n 1 --before="2013-11-11"

(2013-11-11 instead of 2013-11-01)

Kind of serious, because the discussion revolves around commits that are not visible if you are following along in the code.

Carl Buxbaum  Jan 18, 2022