X-Git-Url: http://git.shiar.net/minimedit.git/blobdiff_plain/87ae71d836e57d6952f4c11ee6ffc02a79d8bdf7..328e964708c7e9dc479a25f9358b2d03e9d7f66c:/edit.php diff --git a/edit.php b/edit.php index ca9639c..25f9f1b 100644 --- a/edit.php +++ b/edit.php @@ -1,13 +1,7 @@ &1", $gitlog, $gitstatus); + if ($gitstatus) { + trigger_error("git commit failure $gitstatus: ".implode("\n", $gitlog), E_USER_WARNING); + } +} + abort("Bestand opgeslagen");