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

Re: pre-commit hook

From
BLbill lam <cbill.lam@gmail.com>
Date
Feb 22, 2009, 10:58 UTC
Message-ID
<20090222105838.GB8029@b2j>
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 僧皎然  尋陸鴻漸不遇
    移家雖帶郭  野徑入桑麻  近種籬邊菊  秋來未著花
    扣門無犬吠  欲去問西家  報到山中去  歸來每日斜
Previous: Michael J GruberNext: Sverre Rabbelier
Message 5 of 7 in “pre-commit hook”
  1. bill lamFeb 20, 2009
  2. Junio C HamanoFeb 20, 2009
  3. bill lamFeb 21, 2009
  4. Michael J GruberFeb 21, 2009
  5. bill lamFeb 22, 2009
  6. Sverre RabbelierFeb 22, 2009
  7. bill lamFeb 22, 2009

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.