From 7cd0fb54cb9b790a03feba55e87d33a3121dfc8f Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Tue, 18 Aug 2015 18:28:38 -0500 Subject: [PATCH] FS-7989 #resolve [Fix bugs in fixbug.pl] --- support-d/utils/fixbug.pl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/support-d/utils/fixbug.pl b/support-d/utils/fixbug.pl index 6e5f80d959..958f45af58 100755 --- a/support-d/utils/fixbug.pl +++ b/support-d/utils/fixbug.pl @@ -1,3 +1,4 @@ +#!/usr/bin/perl use XML::Simple; use Data::Dumper; @@ -31,7 +32,7 @@ if ($ARGV[0] eq "edit") { shift; $auto = 0; open T, ">/tmp/$bug.tmp"; - print T "#resolve [$sum]\n\n"; + print T "$bug #resolve [$sum]\n\n"; close T; } @@ -39,7 +40,7 @@ my $args = join(" ", @ARGV); my $gitcmd; if ($auto) { - $gitcmd = "git commit $args -m \"#resolve [$sum]\""; + $gitcmd = "git commit $args -m \"$bug #resolve [$sum]\""; } else { $gitcmd = "git commit $args -t /tmp/$bug.tmp"; }