Use the List<FooterLine> to determine if a paragraph break is needed
Use the List<FooterLine> to determine if a paragraph break is needed

When doing a cherry-pick what we really care about is if JGit would
desire a line break in order to properly parse the FooterLine records
from the end of the commit message.  If there are no FooterLines in
the message, we should insert an extra LF to force a new paragraph
so the footer lines we are about to add can be parsed on their own.

Signed-off-by: Shawn O. Pearce <f3ea74d906fa9fe97c1fef6bad9cb871485c7045@google.com>

makholm/gerrit-ceremony,gracefullife/gerrit,gerrit-review/gerrit,dwhipstock/gerrit,TonyChai24/test,evanchueng/gerrit,quyixia/gerrit,gcoders/gerrit,bpollack/gerrit,GerritCodeReview/gerrit,Team-OctOS/host_gerrit,thinkernel/gerrit,quyixia/gerrit,bpollack/gerrit,Team-OctOS/host_gerrit,qtproject/qtqa-gerrit,teamblueridge/gerrit,jackminicloud/test,renchaorevee/gerrit,thinkernel/gerrit,hdost/gerrit,gracefullife/gerrit,MerritCR/merrit,m1kah/gerrit-contributions,anminhsu/gerrit,joshuawilson/merrit,austinchic/Gerrit,MerritCR/merrit,Saulis/gerrit,Distrotech/gerrit,CandyShop/gerrit,CandyShop/gerrit,joshuawilson/merrit,renchaorevee/gerrit,renchaorevee/gerrit,duboisf/gerrit,bootstraponline-archive/gerrit-mirror,evanchueng/gerrit,TonyChai24/test,thesamet/gerrit,atdt/gerrit,WANdisco/gerrit,netroby/gerrit,sudosurootdev/gerrit,quyixia/gerrit,pkdevbox/gerrit,austinchic/Gerrit,ashang/aaron-gerrit,bootstraponline-archive/gerrit-mirror,CandyShop/gerrit,anminhsu/gerrit,gerrit-review/gerrit,Seinlin/gerrit,gcoders/gerrit,netroby/gerrit,anminhsu/gerrit,GerritCodeReview/gerrit-attic,gracefullife/gerrit,MerritCR/merrit,keerath/gerrit_newssh,Overruler/gerrit,Team-OctOS/host_gerrit,renchaorevee/gerrit,1yvT0s/gerrit,hdost/gerrit,austinchic/Gerrit,hdost/gerrit,Seinlin/gerrit,basilgor/gerrit,thinkernel/gerrit,gcoders/gerrit,ckamm/gerrit,atdt/gerrit,zommarin/gerrit,Saulis/gerrit,pkdevbox/gerrit,gerrit-review/gerrit,keerath/gerrit_newssh,GerritCodeReview/gerrit,quyixia/gerrit,thesamet/gerrit,cjh1/gerrit,1yvT0s/gerrit,dwhipstock/gerrit,anminhsu/gerrit,catrope/gerrit,Seinlin/gerrit,midnightradio/gerrit,duboisf/gerrit,midnightradio/gerrit,GerritCodeReview/gerrit,zommarin/gerrit,evanchueng/gerrit,thesamet/gerrit,1yvT0s/gerrit,supriyantomaftuh/gerrit,gerrit-review/gerrit,gerrit-review/gerrit,1yvT0s/gerrit,zommarin/gerrit,evanchueng/gerrit,ckamm/gerrit,bpollack/gerrit,cjh1/gerrit,thinkernel/gerrit,Seinlin/gerrit,supriyantomaftuh/gerrit,GerritCodeReview/gerrit-attic,ashang/aaron-gerrit,qtproject/qtqa-gerrit,WANdisco/gerrit,rtyley/mini-git-server,GerritCodeReview/gerrit,zommarin/gerrit,Overruler/gerrit,Overruler/gerrit,makholm/gerrit-ceremony,skurfuerst/gerrit,netroby/gerrit,gcoders/gerrit,Distrotech/gerrit,teamblueridge/gerrit,m1kah/gerrit-contributions,supriyantomaftuh/gerrit,sudosurootdev/gerrit,bootstraponline-archive/gerrit-mirror,MerritCR/merrit,ckamm/gerrit,thinkernel/gerrit,bpollack/gerrit,MerritCR/merrit,hdost/gerrit,bpollack/gerrit,midnightradio/gerrit,atdt/gerrit,catrope/gerrit,TonyChai24/test,ckamm/gerrit,gcoders/gerrit,makholm/gerrit-ceremony,renchaorevee/gerrit,anminhsu/gerrit,Saulis/gerrit,pkdevbox/gerrit,bootstraponline-archive/gerrit-mirror,MerritCR/merrit,dwhipstock/gerrit,duboisf/gerrit,joshuawilson/merrit,gerrit-review/gerrit,GerritCodeReview/gerrit,dwhipstock/gerrit,catrope/gerrit,dwhipstock/gerrit,cjh1/gerrit,jeblair/gerrit,duboisf/gerrit,anminhsu/gerrit,Team-OctOS/host_gerrit,GerritCodeReview/gerrit-attic,keerath/gerrit_newssh,WANdisco/gerrit,teamblueridge/gerrit,1yvT0s/gerrit,netroby/gerrit,austinchic/Gerrit,Team-OctOS/host_gerrit,thesamet/gerrit,netroby/gerrit,thinkernel/gerrit,Saulis/gerrit,qtproject/qtqa-gerrit,skurfuerst/gerrit,gracefullife/gerrit,jeblair/gerrit,joshuawilson/merrit,catrope/gerrit,supriyantomaftuh/gerrit,WANdisco/gerrit,MerritCR/merrit,Saulis/gerrit,Overruler/gerrit,gracefullife/gerrit,GerritCodeReview/gerrit,gcoders/gerrit,GerritCodeReview/gerrit,m1kah/gerrit-contributions,makholm/gerrit-ceremony,anminhsu/gerrit,skurfuerst/gerrit,Overruler/gerrit,renchaorevee/gerrit,teamblueridge/gerrit,jackminicloud/test,dwhipstock/gerrit,basilgor/gerrit,jackminicloud/test,quyixia/gerrit,CandyShop/gerrit,jackminicloud/test,ashang/aaron-gerrit,Team-OctOS/host_gerrit,Seinlin/gerrit,gerrit-review/gerrit,midnightradio/gerrit,TonyChai24/test,qtproject/qtqa-gerrit,joshuawilson/merrit,Seinlin/gerrit,cjh1/gerrit,TonyChai24/test,m1kah/gerrit-contributions,rtyley/mini-git-server,qtproject/qtqa-gerrit,pkdevbox/gerrit,Seinlin/gerrit,CandyShop/gerrit,Team-OctOS/host_gerrit,WANdisco/gerrit,joshuawilson/merrit,MerritCR/merrit,atdt/gerrit,skurfuerst/gerrit,WANdisco/gerrit,midnightradio/gerrit,qtproject/qtqa-gerrit,jeblair/gerrit,evanchueng/gerrit,TonyChai24/test,supriyantomaftuh/gerrit,joshuawilson/merrit,basilgor/gerrit,netroby/gerrit,bpollack/gerrit,pkdevbox/gerrit,Distrotech/gerrit,gcoders/gerrit,netroby/gerrit,supriyantomaftuh/gerrit,qtproject/qtqa-gerrit,midnightradio/gerrit,dwhipstock/gerrit,Distrotech/gerrit,bootstraponline-archive/gerrit-mirror,sudosurootdev/gerrit,thinkernel/gerrit,Saulis/gerrit,thesamet/gerrit,sudosurootdev/gerrit,keerath/gerrit_newssh,ckamm/gerrit,jackminicloud/test,sudosurootdev/gerrit,hdost/gerrit,Distrotech/gerrit,quyixia/gerrit,zommarin/gerrit,hdost/gerrit,basilgor/gerrit,joshuawilson/merrit,thesamet/gerrit,pkdevbox/gerrit,GerritCodeReview/gerrit,ashang/aaron-gerrit,jackminicloud/test,jackminicloud/test,keerath/gerrit_newssh,renchaorevee/gerrit,Distrotech/gerrit,atdt/gerrit,pkdevbox/gerrit,teamblueridge/gerrit,hdost/gerrit,TonyChai24/test,supriyantomaftuh/gerrit,jeblair/gerrit,Distrotech/gerrit,basilgor/gerrit,bootstraponline-archive/gerrit-mirror,ashang/aaron-gerrit,thesamet/gerrit,quyixia/gerrit,WANdisco/gerrit,Overruler/gerrit