From a621cd1521152173e20efa11a8ab5892e1855f30 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Xe=CC=81fir=20Destiny?= Date: Wed, 9 Apr 2014 09:12:36 +0200 Subject: [PATCH] =?UTF-8?q?Revert=20"Plus=20besoin=20du=20double=20git=20p?= =?UTF-8?q?ush=20sur=20la=20derni=C3=A8re=20version=20de=20git"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit 6df2028322d101f761b3b4bf6018a530e51c6492. --- ajax.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ajax.php b/ajax.php index 92427a7..92bc984 100644 --- a/ajax.php +++ b/ajax.php @@ -43,7 +43,7 @@ if (!empty($_POST['action'])) { exit; } else if ($_POST['action'] == 'push') { $message = empty($_POST['message']) ? 'FTP' : str_replace(array('"', "'"), ' ', stripslashes($_POST['message'])); - echo ansi2html($session->exec('bash -c \'cd ' . $config['path'] . ' && git add -A && git commit -m "' . $message . '" && git push && ' . $gitstatus . "'")); + echo ansi2html($session->exec('bash -c \'cd ' . $config['path'] . ' && git add -A && git commit -m "' . $message . '" && git push && git push && ' . $gitstatus . "'")); if (!empty($config['after_push'])) { echo ansi2html($session->exec('bash -c \'cd ' . $config['path'] . ' && ' . $config['after_push'] . "'")); }