0008-stagit.c-Use-config.h.patch (899B)
- From ee392a131423e9b4cb6625cbba028fae2f5b9006 Mon Sep 17 00:00:00 2001
- From: "Haelwenn (lanodan) Monnier" <contact@hacktivis.me>
- Date: Tue, 4 Apr 2017 19:06:27 +0200
- Subject: [PATCH 08/22] stagit.c: Use config.h
- ---
- config.h | 3 +++
- stagit.c | 1 +
- 2 files changed, 4 insertions(+)
- create mode 100644 config.h
- diff --git a/config.h b/config.h
- new file mode 100644
- index 0000000..72da0f4
- --- /dev/null
- +++ 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
- index a6cfebc..78390c9 100644
- --- a/stagit.c
- +++ b/stagit.c
- @@ -14,6 +14,7 @@
- #include <git2.h>
- #include "compat.h"
- +#include "config.h"
- struct deltainfo {
- git_patch *patch;
- --
- 2.26.2