git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [msysgit] how to detect git.exe directory?
@ 2007-12-23 16:25 Marco Costalba
       [not found] ` <e5bfff550712230825o5e73bd3dm31057847106b8722-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  2007-12-23 19:45 ` [msysgit] " Abdelrazak Younes
  0 siblings, 2 replies; 6+ messages in thread
From: Marco Costalba @ 2007-12-23 16:25 UTC (permalink / raw)
  To: msysgit, Git Mailing List

Hi all,

   I'm progressing on qgit installer for windows, I have switched to
MSVC for compiling Qt4 and qgit sources and I have to say that first
results are very good, qgit.exe now seems to work without problems or
artifacts and the speed is much more similar to what we achieve under
the Linux platform (read much higher).

So it seems Qt+mingw is not the _best_ possible solution.

Anyhow, under Vista you cannot simply copy qgit.exe in the git
directory (OS barfs regarding some administrative rights, note that *I
am* the administartor!), so to make qgit.exe work git.exe file must be
in PATH.

To easy the user and allowing to call qgit.exe double clicking on a
nice desktop icon I need a way to know where git.exe is installed *at
runtime*.

So my question is: "What is the preferred way to detect git directory
at runtime for msysgit files?"

- environment variable ??

- windows registry ??

- others ?


I don't plan to use the cygwin version of git but going directly to
the "long term" solution that is msysgit.

Thanks for your help
Marco

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

end of thread, other threads:[~2007-12-23 20:04 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-23 16:25 [msysgit] how to detect git.exe directory? Marco Costalba
     [not found] ` <e5bfff550712230825o5e73bd3dm31057847106b8722-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2007-12-23 16:35   ` Johannes Sixt
     [not found]     ` <200712231735.00336.johannes.sixt-dl2ejS2iUSazZXS1Dc/lvw@public.gmane.org>
2007-12-23 16:53       ` Marco Costalba
     [not found]         ` <e5bfff550712230853u1bc0160ap936c2d0a6fe0203b-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2007-12-23 19:51           ` Abdelrazak Younes
2007-12-23 19:45 ` [msysgit] " Abdelrazak Younes
2007-12-23 20:04   ` Marco Costalba

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).