mail.sh: suppress new branch diffstat for root+merge
commit69675305c0582606296c412d3e50681e77cf5675
authorKyle J. McKay <mackyle@gmail.com>
Fri, 7 Oct 2016 23:32:39 +0000 (7 16:32 -0700)
committerKyle J. McKay <mackyle@gmail.com>
Fri, 7 Oct 2016 23:32:39 +0000 (7 16:32 -0700)
tree1c38e41ebf6fd0bf878e44fc2aa041bcb93da773
parent5ffc5bd5ba0bc44f20c60295ca99ef00af200dbb
mail.sh: suppress new branch diffstat for root+merge

Tweak the logic slightly so that if a new branch notification would
show the new branch all the way down to its root commit, that it does
not mistakenly show the diff stat when one of the commits on the way
to the root was a merge that merged in commits previously shown.

Basically this was just an off-by-1 error when showing a new branch
whose root commit had never been seen before.

Also fix the comments about what LAST_SHOWN_NBOUNDARY really is.

Signed-off-by: Kyle J. McKay <mackyle@gmail.com>
taskd/mail.sh