Re: Commit template
- From
Sean <seanlkml@sympatico.ca>
- Date
- May 8, 2005, 19:20 UTC
- Message-ID
- <2003.10.10.10.24.1115580031.squirrel@linux1>
- In-Reply-To
- <1115579764.8949.15.camel@pegasus>
On Sun, May 8, 2005 3:16 pm, Marcel Holtmann said:
Show 15 quoted lines
> Hi Sean, > >> This adds the ability to have a per repository commit template. Create >> a >> .git/commit.form file containg "CG: " and other lines and it will be >> used >> in place of the regular top 3 lines. This is kind of handy so that you >> can include your signed-off-by: with your email etc. > > I think it is a bad idea to take the CG: into it. Let them be created by > the cg-commit script, because it knows what to do. > > The question now is when we should provide that form. For me it only > makes sense if it is not a merge and if no commit message is provided > via command line.
Marcel,
Yeah, it was just a quick hack. You're not forced to put any CG: lines in the commit template of course, but it will handle it if you do. Even with the patch, cg-commit will add addtional CG: lines containing a list of modified files etc..
Sean