:git-horror-story.txt: s/carrot/caret/g

Five years this typo has existed!

Thanks to Maxim Cournoyer <maxim.cournoyer@gmail.com> for pointing this out
to me.
master
Mike Gerwitz 2017-02-28 22:41:39 -05:00
parent 034e4e2f5f
commit b7a128f20b
Signed by: mikegerwitz
GPG Key ID: 8C917B7F5DC51BA2
1 changed files with 3 additions and 3 deletions

View File

@ -1122,13 +1122,13 @@ Here, we find that if we filter out those lines ending in ``G'' as we did
before, we would be left with the untrusted commits in addition to the commits
that are bad (``B'') or unsigned (blank), as indicated by +%G?+. To accomplish
this, we first add the GPG output to the log with the `--show-signature` option
and, to make filtering easier, prefix all commit lines with a carrot (^) which
we will later strip. We then filter all lines but those beginning with a carrot,
and, to make filtering easier, prefix all commit lines with a caret (^) which
we will later strip. We then filter all lines but those beginning with a caret,
or lines that contain the string ``not certified'', which is part of the GPG
output. This results in lines of commits with a single +``gpg:''+ line before
them if they are untrusted. We can then pipe this to awk, which will remove all
+``gpg:''+-prefixed lines and append +``U''+ to the next line (the commit line).
Finally, we strip off the leading carrot that was added during the beginning of
Finally, we strip off the leading caret that was added during the beginning of
this process to produce the final output.
Please keep in mind that there is a huge difference between the conventional use