Skip to content

Commit 4a0410d

Browse files
committed
Uncomment git stash
Signed-off-by: snipe <[email protected]>
1 parent 668b9f8 commit 4a0410d

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

upgrade.php

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -437,14 +437,14 @@ function url_get_contents ($Url) {
437437

438438
if ((strpos('git version', $git_version)) === false) {
439439
echo "Git is installed. \n";
440-
// $git_fetch = shell_exec('git fetch');
441-
// $git_checkout = shell_exec('git checkout '.$branch);
442-
// $git_stash = shell_exec('git stash');
443-
// $git_pull = shell_exec('git pull');
444-
// echo $git_fetch;
445-
// echo '-- '.$git_stash;
446-
// echo '-- '.$git_checkout;
447-
// echo '-- '.$git_pull."\n";
440+
$git_fetch = shell_exec('git fetch');
441+
$git_checkout = shell_exec('git checkout '.$branch);
442+
$git_stash = shell_exec('git stash');
443+
$git_pull = shell_exec('git pull');
444+
echo $git_fetch;
445+
echo '-- '.$git_stash;
446+
echo '-- '.$git_checkout;
447+
echo '-- '.$git_pull."\n";
448448
} else {
449449
echo "Git is NOT installed. You can still use this upgrade script to run common \n";
450450
echo "migration commands, but you will have to manually download the updated files. \n\n";

0 commit comments

Comments
 (0)