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

[PATCH 0/7] prefix discovery at runtime (on Windows)

From
Steffen Prohaska <prohaska@zib.de>
Date
Aug 17, 2008, 12:44 UTC
Message-ID
<1218977083-14526-1-git-send-email-prohaska@zib.de>

Hi, This patch series fixes discovery of the installation prefix at runtime on Windows. It introduces a compile flag RUNTIME_PREFIX, which can be set to explicitly request prefix computation at runtime.

Apologies for proposing such large changes that late in the release cycle. Maybe we want to postpone the series until 1.6.0.1 or even 1.6.1. Note however that in this case we should consider not releasing 1.6.0 on Windows because the current solution in master does not reliably read the system wide configuration on Windows.

We probably won't see a Windows installer before mid of September anyway, unless someone temporarily takes over the position of the msysgit maintainer until I return from holidays. I'll be completely offline from August 25 until September 13.

        Steffen
 Makefile       |   21 +++++++++++------
 daemon.c       |    3 ++
 exec_cmd.c     |   67 ++++++++++++++++++++++++++++++++++++++++++++++++-------
 exec_cmd.h     |    2 +-
 fast-import.c  |    4 +++
 git.c          |   20 ++++------------
 hash-object.c  |    4 +++
 index-pack.c   |    4 +++
 receive-pack.c |    3 ++
 unpack-file.c  |    4 +++
 upload-pack.c  |    3 ++
 var.c          |    4 +++
 12 files changed, 107 insertions(+), 32 deletions(-)
 [PATCH 1/7] Windows: Add workaround for MSYS' path conversion
 [PATCH 2/7] system_path(): Add prefix computation at runtime if RUNTIME_PREFIX set
 [PATCH 3/7] Refactor git_set_argv0_path() to git_extract_argv0_path()
 [PATCH 4/7] Glean libexec path from argv[0] for git-upload-pack and git-receive-pack.
 [PATCH 5/7] Add calls to git_extract_argv0_path() in programs that call git_config_*
 [PATCH 6/7] Modify setup_path() to only add git_exec_path() to PATH
 [PATCH 7/7] Windows: Revert to default paths and convert them by RUNTIME_PREFIX
Next: Steffen Prohaska
Message 1 of 16 in “prefix discovery at runtime (on Windows)”
  1. 0/7 prefix discovery at runtime (on Windows)Steffen Prohaska, Aug 17, 2008
  2. 1/7 Windows: Add workaround for MSYS' path conversionSteffen Prohaska, Aug 17, 2008
  3. 2/7 system_path(): Add prefix computation at runtime if RUNTIME_PREFIX setSteffen Prohaska, Aug 17, 2008
  4. 3/7 Refactor git_set_argv0_path() to git_extract_argv0_path()Steffen Prohaska, Aug 17, 2008
  5. 4/7 Glean libexec path from argv[0] for git-upload-pack and git-receive-pack.Steffen Prohaska, Aug 17, 2008
  6. 5/7 Add calls to git_extract_argv0_path() in programs that call git_config_*Steffen Prohaska, Aug 17, 2008
  7. 6/7 Modify setup_path() to only add git_exec_path() to PATHSteffen Prohaska, Aug 17, 2008
  8. 7/7 Windows: Revert to default paths and convert them by RUNTIME_PREFIXSteffen Prohaska, Aug 17, 2008
  9. Johannes SixtAug 17, 2008
  10. Johannes SixtAug 17, 2008
  11. Steffen ProhaskaAug 18, 2008
  12. Johannes SixtAug 17, 2008
  13. Steffen ProhaskaSep 21, 2008
  14. Junio C HamanoAug 17, 2008
  15. Junio C HamanoSep 8, 2008
  16. Johannes SchindelinSep 9, 2008

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.