]> git.leopard-lacewing.eu Git - tex_tools.git/commitdiff
[doc] lsting Hooks
authorPeter Schaefer <schaeferpm@gmail.com>
Thu, 3 Jan 2019 13:34:42 +0000 (14:34 +0100)
committerPeter Schaefer <schaeferpm@gmail.com>
Thu, 3 Jan 2019 13:34:42 +0000 (14:34 +0100)
git1.tex
text-output.pdf
text-output.tex

index 8b1b0a3cf82bbb58ef7823a71f1af8bd572092b9..84ff7138f3664c8f7cc923345a2fb4b39aa86b71 100644 (file)
--- 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}};
index 770adac8c3ec2e6572ce570700b15f6328bc79f3..356f3364201c1a5c19e6f89705f9a257fb6b328e 100644 (file)
Binary files a/text-output.pdf and b/text-output.pdf differ
index e646d26bbe3a40cd50f4f73d2c3f5f3ee8e25a4b..d714c65cf1c740b76d02c97f879d88a9e8524c36 100644 (file)
@@ -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}
 
        
        \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}