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

Re: Git, merging, and News/Relnotes files

From
Dmitry Potapov <dpotapov@gmail.com>
Date
Jul 6, 2008, 14:53 UTC
Message-ID
<37fcd2780807060753h26d9391crff5f9ba5531db654@mail.gmail.com>
In-Reply-To
<g4n7j6$359$1@ger.gmane.org>

On Sat, Jul 5, 2008 at 11:24 AM, Edward Z. Yang <edwardzyang@thewritingpot.com> wrote:

Show 7 quoted lines
> As a policy on a project that I manage, almost every commit warrants a
> change to our NEWS (changelog) file, which end-users can browse to get
> an in-depth idea of the changes that have happened from the last
> release. If it's an added feature, the changelog includes a description
> of how to use it; if it's a fixed bug, it briefly describes what
> happened. Internal changes may or may not get added, depending on the
> visibility of the APIs affected.

I believe it is better to put all this information directly to the commit message using some special tagging, so you can extract it automatically at the release time and generate the changelog file for users. You may edit the generated changelog and commit it directly before release.

Having one file changed on almost every commit is not a good idea, and not only because it will cause unnecessary conflicts but also it may considerable increase the size of the whole repository. By default, the delta compression has limit 50, which means that every 50 change of file will become its full copy. If the changelog file is changed very often and it is long, it may turn out that changelog alone takes as much space as the rest of the source tree.

Dmitry
Previous: Linus TorvaldsNext: Edward Z. Yang
Message 5 of 6 in “Git, merging, and News/Relnotes files”
  1. Edward Z. YangJul 5, 2008
  2. Linus TorvaldsJul 5, 2008
  3. Edward Z. YangJul 5, 2008
  4. Linus TorvaldsJul 5, 2008
  5. Dmitry PotapovJul 6, 2008
  6. Edward Z. YangJul 9, 2008

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.