Skip to content

Commit

Permalink
[4.x] Use the configured Git binary in commands (#9793)
Browse files Browse the repository at this point in the history
Co-authored-by: duncanmcclean <duncanmcclean@users.noreply.github.com>
  • Loading branch information
duncanmcclean and duncanmcclean authored Mar 28, 2024
1 parent 0851224 commit 770dc48
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config/git.php
Original file line number Diff line number Diff line change
Expand Up @@ -132,8 +132,8 @@
*/

'commands' => [
'git add {{ paths }}',
'git -c "user.name={{ name }}" -c "user.email={{ email }}" commit -m "{{ message }}"',
config('statamic.git.binary').' add {{ paths }}',
config('statamic.git.binary').' -c "user.name={{ name }}" -c "user.email={{ email }}" commit -m "{{ message }}"',
],

/*
Expand Down

0 comments on commit 770dc48

Please sign in to comment.