diff --git a/config/git.php b/config/git.php index f6a3e6427d..4d0a78a4e5 100644 --- a/config/git.php +++ b/config/git.php @@ -116,7 +116,7 @@ | */ - 'binary' => env('STATAMIC_GIT_BINARY', 'git'), + 'binary' => $binary = env('STATAMIC_GIT_BINARY', 'git'), /* |-------------------------------------------------------------------------- @@ -132,8 +132,8 @@ */ 'commands' => [ - config('statamic.git.binary').' add {{ paths }}', - config('statamic.git.binary').' -c "user.name={{ name }}" -c "user.email={{ email }}" commit -m "{{ message }}"', + $binary.' add {{ paths }}', + $binary.' -c "user.name={{ name }}" -c "user.email={{ email }}" commit -m "{{ message }}"', ], /*