mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-23 05:06:00 +01:00
hyprctl: make commits wrapped in quotes in json
This commit is contained in:
parent
a783cd8f40
commit
39595aaca3
1 changed files with 1 additions and 1 deletions
|
@ -834,7 +834,7 @@ std::string versionRequest(eHyprCtlOutputFormat format, std::string request) {
|
||||||
"commit_message": "{}",
|
"commit_message": "{}",
|
||||||
"commit_date": "{}",
|
"commit_date": "{}",
|
||||||
"tag": "{}",
|
"tag": "{}",
|
||||||
"commits": {},
|
"commits": "{}",
|
||||||
"flags": [)#",
|
"flags": [)#",
|
||||||
GIT_BRANCH, GIT_COMMIT_HASH, (strcmp(GIT_DIRTY, "dirty") == 0 ? "true" : "false"), escapeJSONStrings(commitMsg), GIT_COMMIT_DATE, GIT_TAG, GIT_COMMITS);
|
GIT_BRANCH, GIT_COMMIT_HASH, (strcmp(GIT_DIRTY, "dirty") == 0 ? "true" : "false"), escapeJSONStrings(commitMsg), GIT_COMMIT_DATE, GIT_TAG, GIT_COMMITS);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue