mirror of
https://gitlab.gnome.org/GNOME/gitg
synced 2024-10-02 14:13:48 +00:00
Fix regexp to parse commit message
This commit is contained in:
parent
04309f63b6
commit
7e17015566
|
@ -236,7 +236,7 @@ public class Gitg.DiffView : Gtk.Grid
|
|||
|
||||
try
|
||||
{
|
||||
s_message_regexp = new Regex(".*[\\R\\s]*(?P<message>(?:.|\\R)*?)\\s*$");
|
||||
s_message_regexp = new Regex(".*(\\R|\\s)*(?P<message>(?:.|\\R)*?)\\s*$");
|
||||
} catch (Error e) { stderr.printf(@"Failed to compile regex: $(e.message)\n"); }
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue