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

Re: [PATCH v4 1/5] fmt-merge-msg: Make the number of log entries in commit message configurable

From
Ramkumar Ramachandra <artagnon@gmail.com>
Date
Aug 22, 2010, 06:53 UTC
Message-ID
<20100822065331.GA15561@kytes>
In-Reply-To
<20100822033330.GA12380@belmont.cs.uchicago.edu>
Hi Jonathan,
Jonathan Nieder writes:
Show 10 quoted lines
> Hi again,
> 
> Thanks for working on this.
> 
> Ramkumar Ramachandra wrote:
> 
> > Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com>
> > Reported-by: Yaroslav Halchenko <debian <at> onerussian.com>
> 
> Looks like some of the @ signs have been corrupted somehow.
My stupidity- I copied the additional lines off the GMane interface.
[...]
Show 19 quoted lines
> FWIW if I were writing it, I would make changes in something like this
> order:
> 
>  - Change fmt_merge_msg API to
> 
> 	int fmt_merge_msg(struct strbuf *in, struct strbuf *out,
> 				int shortlog_len);
> 
>    where shortlog_len is 0 for no shortlog, 20 for a shortlog
>    with 20 items.  Update all callers (the changed function
>    signature makes it easy to find them).
> 
>  - Update merge --log and fmt-merge-msg --log options to take
>    an optional "size of shortlog" argument.
> 
>  - update [merge] log configuration to accept an integer
>    "size of shortlog" value.
> 
> The first step might look like this.
[...]

Thanks for being so patient! It looks like there's no end to my mistakes :p

I'll rewrite this and try to follow the guidelines you've outlined in future- hopefully, I'll become more experienced someday :)

-- Ram
Previous: Junio C HamanoNext: Ramkumar Ramachandra
Message 5 of 9 in “fmt-merge-msg improvements”
  1. 0/5 fmt-merge-msg improvementsRamkumar Ramachandra, Aug 21, 2010
  2. 1/5 fmt-merge-msg: Make the number of log entries in commit message configurableRamkumar Ramachandra, Aug 21, 2010
  3. Jonathan NiederAug 22, 2010
  4. Junio C HamanoAug 22, 2010
  5. Ramkumar RamachandraAug 22, 2010
  6. 2/5 fmt-merge-msg: Update command line options to sync with config optionsRamkumar Ramachandra, Aug 21, 2010
  7. 3/5 fmt-merge-msg: Update fmt-merge-msg and merge-config documentationRamkumar Ramachandra, Aug 21, 2010
  8. 4/5 fmt-merge-msg: Remove deprecated --summary optionRamkumar Ramachandra, Aug 21, 2010
  9. 5/5 parse-options: clarify PARSE_OPT_NOARG descriptionRamkumar Ramachandra, Aug 21, 2010

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.