logo

stagit

STAtic GIT web view generator (in C) git clone https://hacktivis.me/git/stagit.git
commit: 4bfec03c0404c2c4acde4cd983d2a0a0601fae85
parent 1b6a24c893866a604d9b7bc425f9b23706f39912
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Tue,  4 Apr 2017 19:06:27 +0200

stagit.c: Use config.h

Diffstat:

Aconfig.h3+++
Mstagit.c1+
2 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/config.h b/config.h @@ -0,0 +1,3 @@ +/* See LICENSE file for copyright and license details. */ +static const unsigned summarylen = 70; /* summary length in the log */ +static const int showlinecount = 1; /* display line count or file size in file tree index */ diff --git a/stagit.c b/stagit.c @@ -15,6 +15,7 @@ #include <git2.h> #include "compat.h" +#include "config.h" #define LEN(s) (sizeof(s)/sizeof(*s))