summaryrefslogtreecommitdiffstats
path: root/schema
diff options
context:
space:
mode:
authorOlivia Bahr <ob.bahr@gmail.com>2024-04-19 14:53:03 -0600
committerStefan Haller <stefan@haller-berlin.de>2024-04-27 11:30:49 +0200
commita4354ccdfb25cac9f4928823dae86336c7571664 (patch)
tree79bda5255ede79f4337a6d63f1dd4a223de66bea /schema
parentaa81e191e2905e6959f1d8e51c8589764ca0c520 (diff)
Add config option for length of commit hash displayed in commits view
- Add config option `commitHashLength` to to pkg/config/user_config.go - Changed the hash display in pkg/gui/presentation/commits.go
Diffstat (limited to 'schema')
-rw-r--r--schema/config.json6
1 files changed, 6 insertions, 0 deletions
diff --git a/schema/config.json b/schema/config.json
index 5d259cbd4..41a8859a4 100644
--- a/schema/config.json
+++ b/schema/config.json
@@ -309,6 +309,12 @@
"description": "If true (default), file icons are shown in the file views. Only relevant if NerdFontsVersion is not empty.",
"default": true
},
+ "commitHashLength": {
+ "type": "integer",
+ "minimum": 0,
+ "description": "Length of commit hash in commits view. 0 shows '*' if NF icons aren't on.",
+ "default": 8
+ },
"showBranchCommitHash": {
"type": "boolean",
"description": "If true, show commit hashes alongside branch names in the branches view."