git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Marco Costalba" <mcostalba-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: "Johannes Sixt" <johannes.sixt-dl2ejS2iUSazZXS1Dc/lvw@public.gmane.org>
Cc: msysGit <msysgit-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>,
	"Git Mailing List" <git-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>
Subject: Re: how to detect git.exe directory?
Date: Sun, 23 Dec 2007 17:53:17 +0100	[thread overview]
Message-ID: <e5bfff550712230853u1bc0160ap936c2d0a6fe0203b@mail.gmail.com> (raw)
In-Reply-To: <200712231735.00336.johannes.sixt-dl2ejS2iUSazZXS1Dc/lvw@public.gmane.org>


On Dec 23, 2007 5:35 PM, Johannes Sixt <johannes.sixt-dl2ejS2iUSazZXS1Dc/lvw@public.gmane.org> wrote:
> On Sunday 23 December 2007 17:25, Marco Costalba wrote:
> > 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 ?
>
> Running
>
>         git --exec-path
>
> should get you close to it. But I have to question why you need that path.
>

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.

Hope it's clear.

Thanks
Marco

  parent reply	other threads:[~2007-12-23 16:53 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
     [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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=e5bfff550712230853u1bc0160ap936c2d0a6fe0203b@mail.gmail.com \
    --to=mcostalba-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
    --cc=git-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=johannes.sixt-dl2ejS2iUSazZXS1Dc/lvw@public.gmane.org \
    --cc=msysgit-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).