aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/debug
diff options
context:
space:
mode:
authorVaxry <[email protected]>2024-04-29 16:10:22 +0100
committerVaxry <[email protected]>2024-04-29 16:10:26 +0100
commit39595aaca3c16cc483dcaacdebaecc24c952246b (patch)
treeacb1feb9764422800ccb12927bdfe06688509fcb /src/debug
parenta783cd8f40594b686bc40d52a2af95bedba7a8d5 (diff)
downloadHyprland-39595aaca3c16cc483dcaacdebaecc24c952246b.tar.gz
Hyprland-39595aaca3c16cc483dcaacdebaecc24c952246b.zip
hyprctl: make commits wrapped in quotes in json
Diffstat (limited to 'src/debug')
-rw-r--r--src/debug/HyprCtl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/debug/HyprCtl.cpp b/src/debug/HyprCtl.cpp
index ce2f5c45..06c6405f 100644
--- a/src/debug/HyprCtl.cpp
+++ b/src/debug/HyprCtl.cpp
@@ -834,7 +834,7 @@ std::string versionRequest(eHyprCtlOutputFormat format, std::string request) {
"commit_message": "{}",
"commit_date": "{}",
"tag": "{}",
- "commits": {},
+ "commits": "{}",
"flags": [)#",
GIT_BRANCH, GIT_COMMIT_HASH, (strcmp(GIT_DIRTY, "dirty") == 0 ? "true" : "false"), escapeJSONStrings(commitMsg), GIT_COMMIT_DATE, GIT_TAG, GIT_COMMITS);