]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Meta/cook: mark topics that graduated as such
authorJunio C Hamano <gitster@pobox.com>
Tue, 7 Jul 2026 05:22:13 +0000 (22:22 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 7 Jul 2026 05:22:13 +0000 (22:22 -0700)
cook

diff --git a/cook b/cook
index 566785406933a0af5fa03fca2727656fc1789f36..99250cf516d7838e6112d6500aa6d9962f48d08e 100755 (executable)
--- a/cook
+++ b/cook
@@ -797,9 +797,9 @@ sub tweak_willdo {
 sub tweak_graduated {
        my ($td) = @_;
 
-       # Remove the "Will merge" marker from topics that have graduated.
+       # Rename the "Will merge" marker from topics that have graduated.
        for ($td->{'text'}) {
-               s/\n Will merge to '$MASTER'\.(\n|$)/ /s;
+               s/\n Will merge to '$MASTER'\.(\n|$)/\n Graduated to '$MASTER'.$1/s;
        }
 }