Don't send masses of mails when pushing branch without new commits
authorSimon Schubert <corecode@dragonflybsd.org>
Tue, 3 Feb 2009 23:16:40 +0000 (00:16 +0100)
committerSimon Schubert <corecode@dragonflybsd.org>
Tue, 3 Feb 2009 23:16:40 +0000 (00:16 +0100)
commita7b83ec018713aa95a0895fcb247fbe90648cd54
treec6a3b1bc4257a1547f5b436892b52884834bde47
parent45175900f466dd0820dbfd332b775e18600e0e32
Don't send masses of mails when pushing branch without new commits

The original code seemed to assume that there were always new changes when
creating a new branch.  The code would fail if the new branch would not
contain new commits and instead would ignore the existing, duplicated branch
and mail out all its changes as new.
post-receive-email