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

Re: Make commit messages optional

From
Philip Oakley <philipoakley@iee.email>
Date
Apr 8, 2022, 08:15 UTC
Message-ID
<5d6df8fa-eaea-4ead-e966-8efe60784409@iee.email>
In-Reply-To
<7ED89912-2E10-4356-9C61-14B90EC0719C@icloud.com>
Hi Jurgen
On 08/04/2022 04:35, jurgen_gjoncari@icloud.com wrote:
Show 5 quoted lines
> I think that often commit messages are unnecessary. I propose that by default a user should be able to commit without a message. 
>
> I don't think this would be a problem from the UX point of view, because a user could get a lot of information about a change, from the history of the GitHub repository, such as from the time of change, and seeing the diff. 
>
> I think that making commit messages options wouldn't even be a problem for retro compatibility because the feature would remain still functional for those who would want to use it. 

Isn't this an ideal candidate for an alias that simply passes in the empty message?

However, it's worth reviewing and doing a retrospective about commit messages and who they are there to inform.

They (these supposedly informative messages) used to frustrate me many years ago. I already _knew_ what I was doing, and it was 'obvious', what even needed saying (so say nothing).

The Git project's style has been informative in showing how to provide a well focussed concise message that should be understandable to others, to your future self, and help clarify one's current understanding of the problem at hand. Often the last point will mean one upgrades the code to meet the real need.

-- Philip

Previous: Junio C HamanoNext: Phillip Susi
Message 9 of 29 in “Make commit messages optional”
  1. jurgen_gjoncari@icloud.comApr 8, 2022
  2. Christian CouderApr 8, 2022
  3. Ævar Arnfjörð BjarmasonApr 8, 2022
  4. Erik Cervin EdinApr 8, 2022
  5. Ævar Arnfjörð BjarmasonApr 11, 2022
  6. Junio C HamanoApr 11, 2022
  7. Michal SuchánekApr 11, 2022
  8. Junio C HamanoApr 11, 2022
  9. Philip OakleyApr 8, 2022
  10. Phillip SusiApr 8, 2022
  11. brian m. carlsonApr 8, 2022
  12. rsbecker@nexbridge.comApr 8, 2022
  13. Michal SuchánekApr 9, 2022
  14. Tao KlerksApr 10, 2022
  15. rsbecker@nexbridge.comApr 10, 2022
  16. rsbecker@nexbridge.comApr 10, 2022
  17. Tao KlerksApr 10, 2022
  18. Jonathan NiederApr 13, 2022
  19. demerphqApr 11, 2022
  20. rsbecker@nexbridge.comApr 11, 2022
  21. Ævar Arnfjörð BjarmasonApr 11, 2022
  22. Tao KlerksApr 11, 2022
  23. Junio C HamanoApr 11, 2022
  24. Michal SuchánekApr 11, 2022
  25. tytsoApr 11, 2022
  26. Ævar Arnfjörð BjarmasonApr 11, 2022
  27. Theodore Ts'oApr 14, 2022
  28. Ævar Arnfjörð BjarmasonApr 14, 2022
  29. Junio C HamanoApr 14, 2022

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.