Subject: git hard-codes use of /bin/sh for aliases

From: Thorsten Glaser <[email-masked]>
Date: Mon, 11 May 2026 23:13:18 +0200 (CEST)

Hi,

git aliases don’t use the user’s shell but a hardcoded /bin/sh,
and this cannot be made configurable.

This, unfortunately, breaks quite some aliases and they cannot
be made portable by adding something like core.sh = /bin/mksh
to the .gitconfig.

I’d love if this could be made configurable.

bye,
//Thorsten
-- 
Thorsten Glaser
Linux / Unix Developer
Tel.: +49 160 91168501
E-Mail: [email-masked]

B1 Systems GmbH
Osterfeldstraße 7 / 85088 Vohburg / https://www.b1-systems.de/
GF: Ralph Dehner / Unternehmenssitz: Vohburg / AG: Ingolstadt, HRB 3537