exec_cmd: provide a new-style RUNTIME_PREFIX helper for Windows
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Tue, 10 Apr 2018 15:05:45 +0000 (11:05 -0400)
committerJunio C Hamano <gitster@pobox.com>
Wed, 11 Apr 2018 09:10:28 +0000 (18:10 +0900)
The RUNTIME_PREFIX feature comes from Git for Windows, but it was
enhanced to allow support for other platforms. While changing the
original idea, the concept was also improved by not forcing argv[0] to
be adjusted.

Let's allow the same for Windows by implementing a helper just as for
the other platforms.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
No differences found