run-command: refactor getting the Unix shell path into its own function
commit0593c1ea30737cf2d61f7c191d3687b37badf3be
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Sat, 13 Jul 2024 21:08:18 +0000 (13 21:08 +0000)
committerJunio C Hamano <gitster@pobox.com>
Sat, 13 Jul 2024 23:23:36 +0000 (13 16:23 -0700)
tree7e85bb4dcf5e2771ceb750d16c4631f37aea2de1
parenta7dae3bdc8b516d36f630b12bb01e853a667e0d9
run-command: refactor getting the Unix shell path into its own function

This encapsulates the platform-specific logic better.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
run-command.c