logo

etc_portage

Unnamed repository; edit this file 'description' to name the repository. git clone https://hacktivis.me/git/etc_portage.git

0008-stagit.c-Use-config.h.patch (899B)


  1. From ee392a131423e9b4cb6625cbba028fae2f5b9006 Mon Sep 17 00:00:00 2001
  2. From: "Haelwenn (lanodan) Monnier" <contact@hacktivis.me>
  3. Date: Tue, 4 Apr 2017 19:06:27 +0200
  4. Subject: [PATCH 08/22] stagit.c: Use config.h
  5. ---
  6. config.h | 3 +++
  7. stagit.c | 1 +
  8. 2 files changed, 4 insertions(+)
  9. create mode 100644 config.h
  10. diff --git a/config.h b/config.h
  11. new file mode 100644
  12. index 0000000..72da0f4
  13. --- /dev/null
  14. +++ b/config.h
  15. @@ -0,0 +1,3 @@
  16. +/* See LICENSE file for copyright and license details. */
  17. +static const unsigned summarylen = 70; /* summary length in the log */
  18. +static const int showlinecount = 1; /* display line count or file size in file tree index */
  19. diff --git a/stagit.c b/stagit.c
  20. index a6cfebc..78390c9 100644
  21. --- a/stagit.c
  22. +++ b/stagit.c
  23. @@ -14,6 +14,7 @@
  24. #include <git2.h>
  25. #include "compat.h"
  26. +#include "config.h"
  27. struct deltainfo {
  28. git_patch *patch;
  29. --
  30. 2.26.2