git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: bill lam <cbill.lam@gmail.com>
To: Michael J Gruber <git@drmicha.warpmail.net>
Cc: Junio C Hamano <gitster@pobox.com>, git@vger.kernel.org
Subject: Re: pre-commit hook
Date: Sun, 22 Feb 2009 18:58:38 +0800	[thread overview]
Message-ID: <20090222105838.GB8029@b2j> (raw)
In-Reply-To: <499FE579.1050700@drmicha.warpmail.net>

On Sat, 21 Feb 2009, Michael J Gruber wrote:
> > Isn't git-rev-parse (and all git-??? ) was deprecated in 1.6.2 ?
> > 
> 
> It's OK in hooks because the path is set appropriately there.

I make and install with prefix=/usr/bin , however I can only find git
inside /usr/bin; other git-???? are missing although they are built.
"which git-rev-parse" return nothing but "git rev-parse" can work.
Where are these git commands stored and how does the git locate them ?
 
-- 
regards,
====================================================
GPG key 1024D/4434BAB3 2008-08-24
gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3
唐詩169 僧皎然  尋陸鴻漸不遇
    移家雖帶郭  野徑入桑麻  近種籬邊菊  秋來未著花
    扣門無犬吠  欲去問西家  報到山中去  歸來每日斜

  reply	other threads:[~2009-02-22 11:00 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-20  9:11 pre-commit hook bill lam
2009-02-20 16:25 ` Junio C Hamano
2009-02-21  3:57   ` bill lam
2009-02-21 11:28     ` Michael J Gruber
2009-02-22 10:58       ` bill lam [this message]
2009-02-22 11:17         ` Sverre Rabbelier
2009-02-22 14:13           ` bill lam

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=20090222105838.GB8029@b2j \
    --to=cbill.lam@gmail.com \
    --cc=git@drmicha.warpmail.net \
    --cc=git@vger.kernel.org \
    --cc=gitster@pobox.com \
    /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).