[PATCH] Conflicting PREFIX usage
- From
Philip Oakley <philipoakley@iee.org>
- Date
- May 5, 2016, 21:28 UTC
- Message-ID
- <1462483733-3496-1-git-send-email-philipoakley@iee.org>
While trying to resurrect the MSVC/Visual Studio capability for Git for Windows I noticed this little nuance.
The PREFIX in Windows was introduced in 35fb0e8 (Compute prefix at runtime if RUNTIME_PREFIX is set, 2009-01-18) and in sideband.c at ebe8fa7 (fix display overlap between remote and local progress, 2007-11-04) though clash has not been noticed before.
The attached patch simply gives the two PREFIXs more purposeful names of EXEC_PREFIX and DISPLAY_PREFIX.
Philip Oakley (1): exec_cmd.c, sideband.c, Makefile: avoid multiple PREFIX definitions
Makefile | 2 +- exec_cmd.c | 4 ++-- sideband.c | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-)
-- 2.8.1.windows.1