From: Rudolf Polzer Date: Sat, 26 Mar 2011 18:51:51 +0000 (+0100) Subject: fix author email when unmerging X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=78072957319ef4b70de4c7da855dedbb479e046c;p=xonotic%2Fdiv0-gittools.git fix author email when unmerging --- diff --git a/git-branch-manager b/git-branch-manager index 2d31985..1ab7dda 100755 --- a/git-branch-manager +++ b/git-branch-manager @@ -167,9 +167,10 @@ sub unmerge_commit($) or die "git-log: $!"; for(split /\n/, $msg) { - if(/^Author:\s*(.*)/) + if(/^Author:\s*(.*) <(.*)>/) { $author = $1; + $email = $2; } elsif(/^AuthorDate:\s*(.*)/) {