aboutsummaryrefslogtreecommitdiff
path: root/gitstatus/src/options.h
diff options
context:
space:
mode:
authorRoman Perepelitsa <roman.perepelitsa@gmail.com>2021-05-30 11:35:40 +0300
committerRoman Perepelitsa <roman.perepelitsa@gmail.com>2021-05-30 11:35:40 +0300
commitf217e4a39a284f6db7be7a4cfde8647085f97865 (patch)
tree112ee2c9ed6b2c572665e6cb6c872c977a5a9455 /gitstatus/src/options.h
parent77fa0e6dcc56d71590967714f9e76bbf2c9ecc17 (diff)
parentba83466e1da75d9260ebbb145215d9c46d6eadf6 (diff)
Merge commit 'ba83466e1da75d9260ebbb145215d9c46d6eadf6'
Diffstat (limited to 'gitstatus/src/options.h')
-rw-r--r--gitstatus/src/options.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gitstatus/src/options.h b/gitstatus/src/options.h
index 7cbfeed8..fd561e11 100644
--- a/gitstatus/src/options.h
+++ b/gitstatus/src/options.h
@@ -27,6 +27,8 @@
namespace gitstatus {
struct Limits {
+ // Truncate commit summary if it's longer than this many bytes.
+ size_t max_commit_summary_length = 256;
// Report at most this many staged changes.
size_t max_num_staged = 1;
// Report at most this many unstaged changes.