From 8d41083cae28595e7dd85594d51c59ccf83c054f Mon Sep 17 00:00:00 2001 From: int2001 Date: Mon, 25 Mar 2024 07:04:39 +0000 Subject: [PATCH] Added comment --- application/controllers/Debug.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/controllers/Debug.php b/application/controllers/Debug.php index f09d4c156..229e0306f 100644 --- a/application/controllers/Debug.php +++ b/application/controllers/Debug.php @@ -169,7 +169,7 @@ class Debug extends CI_Controller public function wavelog_fetch() { $a_versions=[]; try { - $st=exec('git fetch'); + $st=exec('git fetch'); // Fetch latest things from Repo. ONLY Fetch. Doesn't hurt since it isn't a pull! $versions['branch'] = trim(exec('git rev-parse --abbrev-ref HEAD')); // Get ONLY Name of the Branch we're on $versions['latest_commit_hash']=substr(trim(exec('git log --pretty="%H" -n1 origin'.'/'.$versions['branch'])),0,8); // fetch latest commit-hash from repo } catch (Exception $e) {