From 8d8a12218cb77a67aab77b201cbd238680e05a7d Mon Sep 17 00:00:00 2001 From: Simon Bennett Date: Wed, 25 Jan 2017 10:30:45 +0000 Subject: [PATCH] Force sentry to use the absolute git path --- src/config/config.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config/config.php b/src/config/config.php index 0cbbd3b4..a217262a 100644 --- a/src/config/config.php +++ b/src/config/config.php @@ -4,5 +4,5 @@ 'dsn' => '', // capture release as git sha - // 'release' => trim(exec('git log --pretty="%h" -n1 HEAD')), + // 'release' => trim(exec('git --git-dir ' . base_path('.git') . ' log --pretty="%h" -n1 HEAD')), );