summaryrefslogtreecommitdiff
path: root/stagit.c
diff options
context:
space:
mode:
authorHiltjo Posthuma <hiltjo@codemadness.org>2016-05-03 00:38:33 +0200
committerHiltjo Posthuma <hiltjo@codemadness.org>2016-05-03 00:38:33 +0200
commit069f105725677ce2784d3d0def156c3115c9e330 (patch)
tree44f719a78101de24a4ecf94f8048d8a68b445b37 /stagit.c
parentaa36e0c9b4d8da06c5dc03a461f9d3fe69a1e7fb (diff)
remove config.h, add options to stagit.c
Diffstat (limited to 'stagit.c')
-rw-r--r--stagit.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/stagit.c b/stagit.c
index 9a8c32f..80544e2 100644
--- a/stagit.c
+++ b/stagit.c
@@ -13,7 +13,6 @@
#include <git2.h>
#include "compat.h"
-#include "config.h"
struct deltainfo {
git_patch *patch;
@@ -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 = "";