diff options
author | Vaxry <[email protected]> | 2024-04-29 16:10:22 +0100 |
---|---|---|
committer | Vaxry <[email protected]> | 2024-04-29 16:10:26 +0100 |
commit | 39595aaca3c16cc483dcaacdebaecc24c952246b (patch) | |
tree | acb1feb9764422800ccb12927bdfe06688509fcb /src/debug | |
parent | a783cd8f40594b686bc40d52a2af95bedba7a8d5 (diff) | |
download | Hyprland-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.cpp | 2 |
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); |