diff options
author | Simon Josefsson <simon@josefsson.org> | 2007-03-02 11:46:25 +0100 |
---|---|---|
committer | Simon Josefsson <simon@josefsson.org> | 2007-03-02 11:46:25 +0100 |
commit | d8b3a8995a2976b63c01ee1b27a47d2c645b0fa8 (patch) | |
tree | bb2e1ad918491960a81abef8005e0a18540250fa | |
parent | 665b25c495a9d41f22ae08c3c0034de5dd1d7b61 (diff) | |
download | git2cl-d8b3a8995a2976b63c01ee1b27a47d2c645b0fa8.zip git2cl-d8b3a8995a2976b63c01ee1b27a47d2c645b0fa8.tar.gz git2cl-d8b3a8995a2976b63c01ee1b27a47d2c645b0fa8.tar.bz2 |
Handle empty lines in log entries.
Reported by "Andreas Herrmann" <andreas.herrmann3@amd.com>.
-rwxr-xr-x | git2cl | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -243,9 +243,9 @@ while (<>) { } $state = 1 if (m,^$,); } elsif ($state == 1) { + $state = 2 if (m,^$,); s/^ //g; $comment = $comment . $_; - $state = 2 if (m,^$,); } elsif ($state == 2) { if (m,^([0-9]+)\t([0-9]+)\t(.*)$,) { push @files, $3; |