Restore linebreaks that had been lost in commit messages
authorChuck Hagenbuch <chuck@horde.org>
Sun, 28 Nov 2010 02:07:06 +0000 (21:07 -0500)
committerChuck Hagenbuch <chuck@horde.org>
Sun, 28 Nov 2010 02:08:02 +0000 (21:08 -0500)
framework/Vcs/lib/Horde/Vcs/Log/Git.php

index 41718c9..24a431f 100644 (file)
@@ -94,7 +94,7 @@ class Horde_Vcs_Log_Git extends Horde_Vcs_Log
         $log = '';
         $line = next($lines);
         while ($line !== false && substr($line, 0, 1) != ':') {
-            $log .= $line;
+            $log .= $line . "\n";
             $line = next($lines);
         }
         $this->_log = trim($log);