aboutsummaryrefslogtreecommitdiff
path: root/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
commitba83466e1da75d9260ebbb145215d9c46d6eadf6 (patch)
tree5917ecfe20d40ae821b7cacc4382ecdc2e004a8a /src/options.h
parent9609a835ca2eb3089e35269a05369833e9ec0ba2 (diff)
Squashed 'gitstatus/' changes from 6d00edd0..113f1f69
113f1f69 release gitstatusd-linux-x86_64 v1.5.0 e193be52 expose HEAD's commit message 815301f1 do not redefine `exec` and `builtin` in bash bindings (#235) 97c2aa17 Make `--version-glob` to receive an argument (#216) 95e549fd Support building on OpenBSD (#208) b054ddf2 make homebrew instructions work on systems other than darwin-x86_64 (#205) 98f99ade fix brew formula check git-subtree-dir: gitstatus git-subtree-split: 113f1f698667d12906d97e3818aec5d760dc6e3d
Diffstat (limited to 'src/options.h')
-rw-r--r--src/options.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/options.h b/src/options.h
index 7cbfeed8..fd561e11 100644
--- a/src/options.h
+++ b/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.