git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[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
Next: Philip Oakley
Message 1 of 7 in “Conflicting PREFIX usage”
  1. Conflicting PREFIX usagePhilip Oakley, May 5, 2016
  2. exec_cmd.c, sideband.c, Makefile: avoid multiple PREFIX definitionsPhilip Oakley, May 5, 2016
  3. Junio C HamanoMay 5, 2016
  4. Philip OakleyMay 6, 2016
  5. Junio C HamanoMay 6, 2016
  6. Johannes SixtMay 6, 2016
  7. Philip OakleyMay 6, 2016

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.