summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkballou <kballou@devnulllabs.io>2016-03-16 11:56:39 -0600
committerkballou <kballou@devnulllabs.io>2016-03-16 12:18:43 -0600
commitf9a709f5e9705d1e59fcdfdd35d05359e2d22f13 (patch)
tree581b57eedcc0f8dac09475a3cbcae46584b759a7
parentc98279a0fdb6633da64de92a9a635b4b564b7574 (diff)
downloadgit-in-reverse-f9a709f5e9705d1e59fcdfdd35d05359e2d22f13.tar.gz
git-in-reverse-f9a709f5e9705d1e59fcdfdd35d05359e2d22f13.tar.xz
Add previous tree references
-rw-r--r--src/git-in-reverse.tex12
1 files changed, 10 insertions, 2 deletions
diff --git a/src/git-in-reverse.tex b/src/git-in-reverse.tex
index 4fdcff9..f7f23e4 100644
--- a/src/git-in-reverse.tex
+++ b/src/git-in-reverse.tex
@@ -278,10 +278,14 @@ What does Git store?
\begin{figure}
\begin{tikzpicture}[sibling distance=3cm]
\node[text=solarizedMagenta] at (0, 0) {b98c9a9f}
- child{node[text=solarizedBlue] {257cc5642}
+ child{node[text=solarizedBlue] (foo_hash) {257cc5642}
child{node[text=solarizedGreen]{foo}}}
child{node[text=solarizedBlue] {5716ca598}
child{node[text=solarizedGreen] {bar}}};
+ \node[text=solarizedMagenta] at (-3, 0) (previous_hash) {fcf0be4d7};
+ \node at (-3, 1.5) (previous) {Previous Tree};
+ \draw[-o,thick] (previous_hash) -- (foo_hash);
+ \draw[->,thick] (previous) -- (previous_hash);
\end{tikzpicture}
\end{figure}
\end{frame}
@@ -298,8 +302,12 @@ What does Git store?
\node[text=solarizedMagenta] at (0, 0) {68b75754}
child{node[text=solarizedBlue] {a3f555b64}
child{node[text=solarizedGreen]{foo 2}}}
- child{node[text=solarizedBlue] {5716ca598}
+ child{node[text=solarizedBlue] (bar_hash) {5716ca598}
child{node[text=solarizedGreen] {bar}}};
+ \node[text=solarizedMagenta] at (3, 0) (previous_hash) {b98c9a9f};
+ \node at (3, 1.5) (previous) {Previous Tree};
+ \draw[-o,thick] (previous_hash) -- (bar_hash);
+ \draw[->,thick] (previous) -- (previous_hash);
\end{tikzpicture}
\end{figure}
\end{frame}