mirror of
https://github.com/git/git.git
synced 2026-08-09 17:40:16 +00:00
UWC: do not lose description for graduated topics
This commit is contained in:
8
UWC
8
UWC
@@ -97,7 +97,7 @@ sub parse_whats_cooking {
|
||||
next;
|
||||
}
|
||||
|
||||
if (/^ [-+.?] / || /^ \S/) {
|
||||
if (/^ [-+.?*] / || /^ \S/) {
|
||||
$topic->{"names"} .= $_;
|
||||
next;
|
||||
}
|
||||
@@ -151,8 +151,12 @@ sub merge_whats_cooking {
|
||||
my $newtopic = delete $new_wc->{"topic hash"}{$name};
|
||||
|
||||
if (!defined $newtopic) {
|
||||
$topic->{"text"} = ("<<deleted\n" .
|
||||
$topic->{"head"} .
|
||||
$topic->{"names"} .
|
||||
">>\n\n" .
|
||||
$topic->{"text"});
|
||||
$topic->{"names"} = "";
|
||||
$topic->{"text"} = "<<deleted>>";
|
||||
next;
|
||||
}
|
||||
if (($newtopic->{"names"} ne $topic->{"names"}) ||
|
||||
|
||||
Reference in New Issue
Block a user