From: Andreas Ericsson <ae@op5.se>
To: Wolfgang Denk <wd@denx.de>
Cc: Petr Baudis <pasky@suse.cz>, git@vger.kernel.org
Subject: Re: cg-commit does not run pre-commit hook?
Date: Thu, 12 Oct 2006 16:42:39 +0200 [thread overview]
Message-ID: <452E545F.6060406@op5.se> (raw)
In-Reply-To: <20061012142736.74DE7353BDE@atlas.denx.de>
Wolfgang Denk wrote:
> Dear Petr,
>
> in message <20061012011548.GT20017@pasky.or.cz> you wrote:
>> 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 see. And current versions of cogito don't support any pre-commit
> script, right?
>
>> 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... ;-)
>
> Keeping my fingers crossed :-)
>
> I'm looking for a way to register the commit message into some
> changelog file which gets checked in with the same commit. Or is
> there another way to do this?
>
git log
The commit message is already saved and git (and cogito, I presume)
provide tools to fetch those messages in the relevant different orders
(although ordering by date is flakey sometimes; see list-archives for
discussion).
One part of why a proper SCM is so good to use is that you shouldn't
have to maintain a separate changelog. The SCM should create one for you
when you ask it, based on the comments you've entered when actually
making the changes.
That aside, for actual releases, I generally write a short, gisted
"what's new" thingie inside the tag, based on the shortlog output and my
own memory. This comes in handy when management wants to have their
version of the shortlog, and developers can pretty easily find new
features by just sifting through the tag-messages.
--
Andreas Ericsson andreas.ericsson@op5.se
OP5 AB www.op5.se
Tel: +46 8-230225 Fax: +46 8-230231
next prev parent reply other threads:[~2006-10-12 14:42 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-10-11 20:30 cg-commit does not run pre-commit hook? Wolfgang Denk
2006-10-12 1:15 ` Petr Baudis
2006-10-12 14:27 ` Wolfgang Denk
2006-10-12 14:42 ` Andreas Ericsson [this message]
2006-10-12 15:54 ` Wolfgang Denk
2006-10-12 16:59 ` Linus Torvalds
2006-10-12 17:20 ` Linus Torvalds
2006-10-12 17:02 ` Josef Weidendorfer
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=452E545F.6060406@op5.se \
--to=ae@op5.se \
--cc=git@vger.kernel.org \
--cc=pasky@suse.cz \
--cc=wd@denx.de \
/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).