Introduction
Introduction Statistics Contact Development Disclaimer Help
tremove config.h, add options to stagit.c - stagit - static git page generator
git clone git://src.adamsgaard.dk/stagit
Log
Files
Refs
README
LICENSE
---
commit 069f105725677ce2784d3d0def156c3115c9e330
parent aa36e0c9b4d8da06c5dc03a461f9d3fe69a1e7fb
Author: Hiltjo Posthuma <[email protected]>
Date: Tue, 3 May 2016 00:38:33 +0200
remove config.h, add options to stagit.c
Diffstat:
M Makefile | 6 +-----
M stagit-index.c | 1 -
M stagit.c | 6 +++++-
3 files changed, 6 insertions(+), 7 deletions(-)
---
diff --git a/Makefile b/Makefile
t@@ -49,11 +49,7 @@ dist:
gzip -c > ${NAME}-${VERSION}.tar.gz
rm -rf ${NAME}-${VERSION}
-${OBJ}: config.h config.mk ${HDR}
-
-config.h:
- @echo creating $@ from config.def.h
- @cp config.def.h $@
+${OBJ}: config.mk ${HDR}
stagit: stagit.o ${COMPATOBJ}
${CC} -o $@ stagit.o ${COMPATOBJ} ${LDFLAGS}
diff --git a/stagit-index.c b/stagit-index.c
t@@ -12,7 +12,6 @@
#include <git2.h>
#include "compat.h"
-#include "config.h"
static git_repository *repo;
diff --git a/stagit.c b/stagit.c
t@@ -13,7 +13,6 @@
#include <git2.h>
#include "compat.h"
-#include "config.h"
struct deltainfo {
git_patch *patch;
t@@ -47,6 +46,11 @@ struct commitinfo {
size_t ndeltas;
};
+/* summary length (bytes) in the log */
+static const unsigned summarylen = 70;
+/* display line count or file size in file tree index */
+static const int showlinecount = 1;
+
static git_repository *repo;
static const char *relpath = "";
You are viewing proxied material from mx1.adamsgaard.dk. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.