mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
Add a git fetch before pull. otherwise "FETCH_HEAD" is non-existant
This commit is contained in:
@@ -155,6 +155,7 @@ class Debug extends CI_Controller
|
||||
try {
|
||||
$st=exec('touch '.realpath(APPPATH.'../').'/.maintenance');
|
||||
$st=exec('git stash push --include-untracked');
|
||||
$st=exec('git fetch');
|
||||
$st=exec('git pull');
|
||||
$st=exec('git stash pop');
|
||||
$st=exec('rm '.realpath(APPPATH.'../').'/.maintenance');
|
||||
|
||||
Reference in New Issue
Block a user