github_merge: show cover letter after successful merge.
authorJean Privat <jean@pryen.org>
Thu, 5 Feb 2015 07:03:25 +0000 (14:03 +0700)
committerJean Privat <jean@pryen.org>
Thu, 5 Feb 2015 07:03:25 +0000 (14:03 +0700)
If the merge fails, the cover letter will be shown during the commit,
so no need to show it before.

Signed-off-by: Jean Privat <jean@pryen.org>

contrib/github_merge.nit

index 30d54f0..8a2c545 100644 (file)
@@ -127,5 +127,6 @@ else
        end
        system("git commit -F mergemsg")
        print "The merge is made"
+       mergemsg.write_to(stdout)
 end