]> granicus.if.org Git - sudo/commitdiff
Don't print mercurial branch info for merges.
authorTodd C. Miller <Todd.Miller@sudo.ws>
Mon, 11 Dec 2017 02:45:52 +0000 (19:45 -0700)
committerTodd C. Miller <Todd.Miller@sudo.ws>
Mon, 11 Dec 2017 02:45:52 +0000 (19:45 -0700)
log2cl.pl

index af3eddc6426aec3971b387513910d8dbda438578..9cfd96886ba159aa9c82e441360aca0a126577a4 100755 (executable)
--- a/log2cl.pl
+++ b/log2cl.pl
@@ -62,6 +62,7 @@ while (<LOG>) {
 
        # Commit message body (multi-line)
        foreach (@lines) {
+           last if $_ eq "--HG--";
            if (defined($body)) {
                $_ = "\r" if $_ eq "";
                $body .= " $_";