Searched hist:eeb1a5999713f6494da977712f7d917b7b433341 (Results 1 – 1 of 1) sorted by relevance
| /plugin/gitbacked/action/ |
| H A D | editcommit.php | eeb1a5999713f6494da977712f7d917b7b433341 Fri Feb 10 00:56:43 UTC 2023 Markus Hoffrogge <mhoffrogge@gmail.com> Fix: support cyrillic commit message
- editcommit.php: - initialize field var temp_dir by GitBackedUtil::getTempDir() - GitBackedUtil.php: - add static function getTempDir() to manage this plugins temp dir in a central place - add static function createMessageFile($message) to wirte the git commit message to a temp file - Git.php: - write the commit message for commit() and add_tag() to a temp file and let git it read from that file to fix any escapeshellarg effects
fixes #82
|