The script pull_github_pr.sh uses git merge's "--log" option to put in the merge commit the list of titles of the individual patches being merged in. This list is useful when later searching the log for the merge which introduced a specific feature. Unfortunately, "--log" defaults to cutting off the list of commit titles at 20 lines. For most merges involving fewer than 20 commits, this makes no difference. But some merges include more than 20 commits, and get a truncated list, for no good reason. If someone worked hard to create a patch set with 40 patches, the last thing we should be worried about is that the merge commit message will be 20 lines longer. Unfortunately, there appears to be no way to tell "--log" to not limit the length at all. So I chose an arbitrary limit of 1000. I don't think we ever had a patch set in Scylla which exceeded that limit. Yet :-) Signed-off-by: Nadav Har'El <nyh@scylladb.com> Message-Id: <20200924114403.817893-1-nyh@scylladb.com>
1.6 KiB
Executable File
1.6 KiB
Executable File