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

Re: cg-commit does not run pre-commit hook?

From
Petr Baudis <pasky@suse.cz>
Date
Oct 12, 2006, 01:15 UTC
Message-ID
<20061012011548.GT20017@pasky.or.cz>
In-Reply-To
<20061011203054.C5F80353A48@atlas.denx.de>
  Hi,

Dear diary, on Wed, Oct 11, 2006 at 10:30:54PM CEST, I got a letter where Wolfgang Denk <wd@denx.de> said that...

> I noticed that cg-commit does not run the pre-commit  hook.  Is  this
> intentional,  or  am  I  doing anyhting wrong? When I use git-coimmit
> instead the hook is run just  fine.  This  is  with  git-1.4.2.1  and
> cogito-0.18 of FC4 / FC5 systems.
  historically, Git and Cogito use a different set of hooks (Cogito got
hooks first but Git picked own names and usage and now is prevalent).
I have plans for making Cogito support Git hooks and slowly deprecate
those own ones for which Git has counterparts, but didn't get to it yet.
I might do today during the more boring lectures... ;-)
-- 
				Petr "Pasky" Baudis
Stuff: http://pasky.or.cz/
#!/bin/perl -sp0777i<X+d*lMLa^*lN%0]dsXx++lMlN/dsM0<j]dsj
$/=unpack('H*',$_);$_=`echo 16dio\U$k"SK$/SM$n\EsN0p[lN*1
lK[d2%Sa2/d0$^Ixp"|dc`;s/\W//g;$_=pack('H*',/((..)*)$/)
Previous: Wolfgang DenkNext: Wolfgang Denk
Message 2 of 8 in “cg-commit does not run pre-commit hook?”
  1. Wolfgang DenkOct 11, 2006
  2. Petr BaudisOct 12, 2006
  3. Wolfgang DenkOct 12, 2006
  4. Andreas EricssonOct 12, 2006
  5. Wolfgang DenkOct 12, 2006
  6. Linus TorvaldsOct 12, 2006
  7. Linus TorvaldsOct 12, 2006
  8. Josef WeidendorferOct 12, 2006

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.