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

Re: wishlist bugreport: make limit configurable for do_fmt_merge_msg (merge.log)

From
Ramkumar Ramachandra <artagnon@gmail.com>
Date
Aug 20, 2010, 08:36 UTC
Message-ID
<20100820083614.GD12794@kytes>
In-Reply-To
<20100820081641.GA32127@burratino>
Hi Jonathan,
Jonathan Nieder writes:
Show 9 quoted lines
> Ramkumar Ramachandra wrote:
> 
> >     fmt-merge-msg: Make the number of log entries in shortlog configurable
> >     
> >     Introduce a new configuration option called merge.logLimit to limit
> >     the number of log entries displayed in the shortlog of a merge commit
> >     configurable. Set the default value to 20.
> 
> Neat.  Sign-off?
Oops. I forgot about the new policy: when a patch isn't ready for
inclusion, I must say that explicitly and sign off so others can base
their work on my patch, right?
Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com>
Show 10 quoted lines
> > +++ b/builtin/fmt-merge-msg.c
> > @@ -22,6 +23,8 @@ static int fmt_merge_msg_config(const char *key, const char *value, void *cb)
> >  	}
> >  	if (!found_merge_log && !strcmp("merge.summary", key))
> >  		merge_summary = git_config_bool(key, value);
> > +	if (!strcmp("merge.logLimit", key))
> > +		log_limit = git_config_int(key, value);
> 
> Maybe something like the following would be good on top (or maybe not;
> you decide).

Looks good- since you're interested in this too, I'll include your patch, test it and post a series to the list.

Thanks.
-- Ram
Previous: Jonathan NiederNext: Johannes Sixt
Message 4 of 7 in “wishlist bugreport: make limit configurable for do_fmt_merge_msg (merge.log)”
  1. Yaroslav HalchenkoAug 20, 2010
  2. Ramkumar RamachandraAug 20, 2010
  3. Jonathan NiederAug 20, 2010
  4. Ramkumar RamachandraAug 20, 2010
  5. Johannes SixtAug 20, 2010
  6. Ramkumar RamachandraAug 20, 2010
  7. Johannes SixtAug 20, 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.