From: Peter Schaefer Date: Thu, 3 Jan 2019 13:34:42 +0000 (+0100) Subject: [doc] lsting Hooks X-Git-Tag: v1.0^2~1 X-Git-Url: https://git.leopard-lacewing.eu/?a=commitdiff_plain;h=ddec20f0e3d7dc5e1f87e2f130d9b63bb88f0c94;p=tex_tools.git [doc] lsting Hooks --- diff --git a/git1.tex b/git1.tex index 8b1b0a3..84ff713 100644 --- a/git1.tex +++ b/git1.tex @@ -54,6 +54,9 @@ \node[right,xshift=10] (label_0ee95d1) at (0ee95d1.east) {\verb!0ee95d1: [doc] Hook test!}; \node[commit, black, fill=black] (0009b09) at (0.0,12.5) {}; \node[right,xshift=10] (label_0009b09) at (0009b09.east) {\verb!0009b09: [doc] Hook2 test!}; +\node[commit, black, fill=black] (494a6ba) at (0.0,13.0) {}; +\node[right,xshift=10] (label_494a6ba) at (494a6ba.east) {\verb!494a6ba: [doc] Hook2 test!}; +\path[black] (0009b09) to[out=90,in=-90] (494a6ba); \path[black] (0ee95d1) to[out=90,in=-90] (0009b09); \path[black] (827f503) to[out=90,in=-90] (0ee95d1); \path[blue] (feccffc) to[out=90,in=-90] (1b6432e); @@ -81,7 +84,7 @@ \path[black] (e5c3cd5) to[out=90,in=-90] (9ebee64); \path[black] (d78896f) to[out=90,in=-90] (e5c3cd5); \path[black] (a6f6d74) to[out=90,in=-90] (d78896f); -\node[branch,right,xshift=10] (develop) at (label_0009b09.east) {\lstinline{develop}}; +\node[branch,right,xshift=10] (develop) at (label_494a6ba.east) {\lstinline{develop}}; \node[branch,right,xshift=10] (feature/python) at (label_6b30984.east) {\lstinline{feature/python}}; \node[branch,right,xshift=10] (feature/python2) at (label_d477a13.east) {\lstinline{feature/python2}}; \node[branch,right,xshift=10] (master) at (label_1b6432e.east) {\lstinline{master}}; diff --git a/text-output.pdf b/text-output.pdf index 770adac..356f336 100644 Binary files a/text-output.pdf and b/text-output.pdf differ diff --git a/text-output.tex b/text-output.tex index e646d26..d714c65 100644 --- a/text-output.tex +++ b/text-output.tex @@ -4,6 +4,7 @@ \usepackage{tikz} \usepackage{listings} \usepackage[german]{babel} +\usepackage[utf8x]{inputenc} %opening @@ -15,7 +16,7 @@ \maketitle \begin{abstract} - In diesem Versuch soll in Latex die Git History eingeblendet werden. Nach möglichkeit sogar mit verschiedenen Designs. + In diesem Versuch soll in Latex die Git History eingeblendet werden. Nach Möglichkeit sogar mit verschiedenen Designs. \end{abstract} \section{git-log-tikz} @@ -49,9 +50,17 @@ \section{Erster Versuch } - Sieht schon ganz gut aus. Hoffe mit Den Hooks funktioniert jetzt auch - \include{git1} + Sieht schon ganz gut aus. Hoffe mit den Hooks funktioniert jetzt auch - Weitere Hook Tests. Und so weiter. Und weiter + \input{git1} + + \section{Hooks} + Mit pre-commit läufts ganz gut. Sonst stimmen die Hashes sowieso nicht. + \begin{figure}[h] + \caption{.git/hooks/pre-commit} + \lstset{language=bash} + \lstinputlisting{.git/hooks/pre-commit} + \end{figure} + \end{document}