git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/7 v2] prefix discovery at runtime (on Windows)
@ 2008-09-21 16:24 Steffen Prohaska
  2008-09-21 16:24 ` [PATCH 1/7] Windows: Add workaround for MSYS' path conversion Steffen Prohaska
  0 siblings, 1 reply; 12+ messages in thread
From: Steffen Prohaska @ 2008-09-21 16:24 UTC (permalink / raw)
  To: Johannes Sixt; +Cc: git, Junio C Hamano, Johannes Schindelin

This is the second version of the patch series that 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.

You can find the first version at

  http://article.gmane.org/gmane.comp.version-control.git/92605

I mainly improved some of the commit messages and rebased to the
current master.

PATCH 6/7 might need further discussion.  Hannes noted that PATCH 6/7
touches a sensible part of exec_cmd.c, although he thinks that the
proposed change might be good.  See
http://article.gmane.org/gmane.comp.version-control.git/92626 for his
comment.  I did not modify PATCH 6/7.

        Steffen

 [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

^ permalink raw reply	[flat|nested] 12+ messages in thread
* [PATCH 0/7] prefix discovery at runtime (on Windows)
@ 2008-08-17 12:44 Steffen Prohaska
  2008-08-17 12:44 ` [PATCH 1/7] Windows: Add workaround for MSYS' path conversion Steffen Prohaska
  0 siblings, 1 reply; 12+ messages in thread
From: Steffen Prohaska @ 2008-08-17 12:44 UTC (permalink / raw)
  To: Johannes Sixt; +Cc: git, Junio C Hamano, Johannes Schindelin

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

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2008-09-22  6:02 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-21 16:24 [PATCH 0/7 v2] prefix discovery at runtime (on Windows) Steffen Prohaska
2008-09-21 16:24 ` [PATCH 1/7] Windows: Add workaround for MSYS' path conversion Steffen Prohaska
2008-09-21 16:24   ` [PATCH 2/7] system_path(): Add prefix computation at runtime if RUNTIME_PREFIX set Steffen Prohaska
2008-09-21 16:24     ` [PATCH 3/7] Refactor git_set_argv0_path() to git_extract_argv0_path() Steffen Prohaska
2008-09-21 16:24       ` [PATCH 4/7] Glean libexec path from argv[0] for git-upload-pack and git-receive-pack Steffen Prohaska
2008-09-21 16:24         ` [PATCH 5/7] Add calls to git_extract_argv0_path() in programs that call git_config_* Steffen Prohaska
2008-09-21 16:24           ` [PATCH 6/7] Modify setup_path() to only add git_exec_path() to PATH Steffen Prohaska
2008-09-21 16:24             ` [PATCH 7/7] Windows: Revert to default paths and convert them by RUNTIME_PREFIX Steffen Prohaska
2008-09-21 21:58               ` Johannes Sixt
2008-09-22  5:57                 ` Steffen Prohaska
2008-09-21 21:57   ` [PATCH 1/7] Windows: Add workaround for MSYS' path conversion Johannes Sixt
  -- strict thread matches above, loose matches on Subject: below --
2008-08-17 12:44 [PATCH 0/7] prefix discovery at runtime (on Windows) Steffen Prohaska
2008-08-17 12:44 ` [PATCH 1/7] Windows: Add workaround for MSYS' path conversion Steffen Prohaska
2008-08-17 12:44   ` [PATCH 2/7] system_path(): Add prefix computation at runtime if RUNTIME_PREFIX set Steffen Prohaska
2008-08-17 12:44     ` [PATCH 3/7] Refactor git_set_argv0_path() to git_extract_argv0_path() Steffen Prohaska
2008-08-17 12:44       ` [PATCH 4/7] Glean libexec path from argv[0] for git-upload-pack and git-receive-pack Steffen Prohaska
2008-08-17 12:44         ` [PATCH 5/7] Add calls to git_extract_argv0_path() in programs that call git_config_* Steffen Prohaska
2008-08-17 12:44           ` [PATCH 6/7] Modify setup_path() to only add git_exec_path() to PATH Steffen Prohaska
2008-08-17 12:44             ` [PATCH 7/7] Windows: Revert to default paths and convert them by RUNTIME_PREFIX Steffen Prohaska

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).