]> git.ipfire.org Git - thirdparty/git.git/commit - exec-cmd.c
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)
commitc1be1cb7ea064bae5ee1cd226aa42b767f2b52c4
treede00ec88ae1be3adfca7c08d2172bf3757176454
parent226c0ddd0d63dd6c8dde497c755af2ad1f02e0c1
exec_cmd: provide a new-style RUNTIME_PREFIX helper for Windows

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>
Makefile
exec_cmd.c