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

Re: [PATCH] Teach git-commit about commit message templates.

From
Junio C Hamano <gitster@pobox.com>
Date
Jul 24, 2007, 21:43 UTC
Message-ID
<7v3azdh400.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<46A5EA2D.1030707@midwinter.com>
Steven Grimm <koreth@midwinter.com> writes:
Show 20 quoted lines
> Junio C Hamano wrote:
> ...
>> I am more worried about how this should interact with cases
>> where you usually do not start the log message from scratch.
>> For example, are there cases / policies where being able to use
>> templates to leave comments on merge commits are needed?
>> Squash-commits?  Perhaps "apply this template but only when you
>> have hand resolved a conflicting merges"?
>>
>
> Those are all valid cases. They also happen to be ones that are not
> personally useful to me; none of the stuff in my company's commit
> template would really apply to merges. I'm happy to do it if you think
> those cases need to be handled before this can go in, but given
> there's at least one user out there who doesn't need those things, I
> wonder if this makes more sense to hold off on until someone actually
> asks for it.
> ...
> Is your hunch about the common case different than mine? Again, I can
> go address this if it'll actually be useful.

No, I am way more cunning and lazy than that. I did not have hunch about the common case, so I just had you (and anybody else who would join the thread) do necessary thinking and guessing for me ;-)

Previous: Steven GrimmNext: Steven Grimm
Message 9 of 11 in “Teach git-commit about commit message templates.”
  1. Teach git-commit about commit message templates.Steven Grimm, Jul 23, 2007
  2. Johannes SchindelinJul 23, 2007
  3. Steven GrimmJul 23, 2007
  4. Johannes SchindelinJul 23, 2007
  5. Steven GrimmJul 23, 2007
  6. Johannes SchindelinJul 23, 2007
  7. Junio C HamanoJul 23, 2007
  8. Steven GrimmJul 24, 2007
  9. Junio C HamanoJul 24, 2007
  10. Steven GrimmJul 25, 2007
  11. Junio C HamanoJul 25, 2007

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.