aboutsummaryrefslogtreecommitdiff
path: root/config.def.h
diff options
context:
space:
mode:
authorQuentin Rameau <quinq@fifth.space>2016-01-10 00:47:22 +0100
committerHiltjo Posthuma <hiltjo@codemadness.org>2016-01-13 21:58:08 +0100
commit79fab7c6faf78d7bcc0c870359138617aee24c7d (patch)
tree63500479d8fadda54dc8b332e004c981b043ae7b /config.def.h
parent50dccf0e3ba06bcd732ac5c38c8b326cebc6c097 (diff)
downloadstagit-fork-79fab7c6faf78d7bcc0c870359138617aee24c7d.zip
replace file size with line count for text files
Keep the number of line when writing text blobs and print it in the index file tree instead of the size. Still print the size otherwise.
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/config.def.h b/config.def.h
index 20a935a..721392f 100644
--- a/config.def.h
+++ b/config.def.h
@@ -1,2 +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 */