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

Re: how to detect git.exe directory?

From
AYAbdelrazak Younes <younes.a-ganu6spqydw@public.gmane.org>
Date
Dec 23, 2007, 19:51 UTC
Message-ID
<fkme88$rc1$1@ger.gmane.org>
In-Reply-To
<e5bfff550712230853u1bc0160ap936c2d0a6fe0203b-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
Marco Costalba wrote:
Show 6 quoted lines
> 
> What I'm looking for is git.exe itself. If I run "git --exec-path" I
> get something along the lines "git executable not found..."
> 
> I don't use dashed command inside qgit, so I run "git log ..." not
> "git-log ...", but the git.exe should be known to qgit or in path.

If you're planning to create an installer for qgit, a good solution would be to ask the user to manually point to the msysgit installation directory if not found in the path. Then the installer could just save the directory to an ini file along 'qgit.exe'.

Abdel.
Previous: Marco Costalba
Message 6 of 6 in “[msysgit] how to detect git.exe directory?”
  1. Marco CostalbaDec 23, 2007
  2. Abdelrazak YounesDec 23, 2007
  3. Marco CostalbaDec 23, 2007
  4. Johannes SixtDec 23, 2007
  5. Marco CostalbaDec 23, 2007
  6. Abdelrazak YounesDec 23, 2007

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.