git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* wishlist bugreport: make limit configurable for do_fmt_merge_msg (merge.log)
@ 2010-08-20  2:01 Yaroslav Halchenko
  2010-08-20  6:47 ` Ramkumar Ramachandra
  0 siblings, 1 reply; 7+ messages in thread
From: Yaroslav Halchenko @ 2010-08-20  2:01 UTC (permalink / raw)
  To: git

Hi Git Developers,

Shame on me but couldn't figure out if there is any official bug tracker
for git -- previously I just complained here, so keeping the tradition:

merge.log (or merge.summary) enables a really nice feature of including
a list of commits involved in the merge.  Unfortunately it is limited to
20 entries and only includes total number of included commits if that is
larger than 20.

Looking at the source code (if I got it right)

static int do_fmt_merge_msg(int merge_title, int merge_summary,
	struct strbuf *in, struct strbuf *out) {
	int limit = 20, i = 0, pos = 0;
.... no line touches limit ....
			shortlog(origins.items[i].string, origins.items[i].util,
					head, &rev, limit, out);

so, limit of 20 is hardcoded and cannot be altered via configuration.  I
would love to have it configurable, so, if desired, be set to infinity
(configuration wide or as a cmd line parameter for a specific merge).

Thanks in advance
-- 
                                  .-.
=------------------------------   /v\  ----------------------------=
Keep in touch                    // \\     (yoh@|www.)onerussian.com
Yaroslav Halchenko              /(   )\               ICQ#: 60653192
                   Linux User    ^^-^^    [175555]

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2010-08-20  9:30 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-08-20  2:01 wishlist bugreport: make limit configurable for do_fmt_merge_msg (merge.log) Yaroslav Halchenko
2010-08-20  6:47 ` Ramkumar Ramachandra
2010-08-20  8:16   ` Jonathan Nieder
2010-08-20  8:36     ` Ramkumar Ramachandra
2010-08-20  9:10     ` Johannes Sixt
2010-08-20  9:19       ` Ramkumar Ramachandra
2010-08-20  9:29         ` Johannes Sixt

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).