Truncate commits that exceeds the new commits note display limit
requested to merge 368972-avoid-creating-too-long-system-note-with-added-commit-references into master
What does this MR do and why?
This MR truncates new commit summary if there are more than 10 commits. This is to avoid performance hits caused by pushes that includes a large number of commits. It provides a summary line for them instead.
NOTE: ..
notation doesn't seem to work for some reason and that's why I went with using the parent commit sha, but I feel I should include ..
there as a backup to match the existing logic for generating existing commits summary line. I'll create an issue for that after this as that's a separate issue.
Related to: #368972 (closed)
Screenshots or screen recordings
With commits less than 10 (same as before)
With commits more than 10
With additional rebased commits
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
Related to #368972 (closed)
Edited by Sincheol (David) Kim