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

[PATCH 2/3] git-gui (Windows): Switch to relative discovery of oguilib

From
Steffen Prohaska <prohaska@zib.de>
Date
Jul 27, 2008, 16:49 UTC
Message-ID
<1217177383-25272-3-git-send-email-prohaska@zib.de>
In-Reply-To
<1217177383-25272-2-git-send-email-prohaska@zib.de>

Instead of using an absolute path, git-gui can discover its gui library using a relative path from execdir. We want to use the relative path discovery on MinGW to avoid issues with translation of absolute paths.

Signed-off-by: Steffen Prohaska <prohaska@zib.de>
---
 git-gui/Makefile |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/git-gui/Makefile b/git-gui/Makefile
index b19fb2d..ec4b33e 100644
--- a/git-gui/Makefile
+++ b/git-gui/Makefile
@@ -156,6 +156,7 @@ endif
 ifneq (,$(findstring MINGW,$(uname_S)))
 	NO_MSGFMT=1
 	GITGUI_WINDOWS_WRAPPER := YesPlease
+	GITGUI_RELATIVE := 1
 endif
 
 ifdef GITGUI_MACOSXAPP
-- 
1.6.0.rc0.79.gb0320
Previous: Steffen ProhaskaNext: Steffen Prohaska
Message 3 of 13 in “git-gui (Windows): Adapt to new execdir 'libexec/git-core'”
  1. 0/3 git-gui (Windows): Adapt to new execdir 'libexec/git-core'Steffen Prohaska, Jul 27, 2008
  2. 1/3 git-gui: Adapt discovery of oguilib to execdir 'libexec/git-core'Steffen Prohaska, Jul 27, 2008
  3. 2/3 git-gui (Windows): Switch to relative discovery of oguilibSteffen Prohaska, Jul 27, 2008
  4. 3/3 git-gui (Windows): Change wrapper to execdir 'libexec/git-core'Steffen Prohaska, Jul 27, 2008
  5. Shawn O. PearceJul 27, 2008
  6. Steffen ProhaskaJul 28, 2008
  7. Shawn O. PearceJul 30, 2008
  8. Steffen ProhaskaJul 30, 2008
  9. Johannes SixtAug 3, 2008
  10. Steffen ProhaskaAug 3, 2008
  11. git-gui: Adapt discovery of oguilib to execdir 'libexec/git-core'Johannes Sixt, Aug 4, 2008
  12. Shawn O. PearceAug 4, 2008
  13. git-gui: Adapt discovery of oguilib to execdir 'libexec/git-core'Johannes Sixt, Aug 4, 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.