FS-7989 #resolve [Fix bugs in fixbug.pl]
This commit is contained in:
parent
6441f5c8ff
commit
7cd0fb54cb
|
@ -1,3 +1,4 @@
|
||||||
|
#!/usr/bin/perl
|
||||||
|
|
||||||
use XML::Simple;
|
use XML::Simple;
|
||||||
use Data::Dumper;
|
use Data::Dumper;
|
||||||
|
@ -31,7 +32,7 @@ if ($ARGV[0] eq "edit") {
|
||||||
shift;
|
shift;
|
||||||
$auto = 0;
|
$auto = 0;
|
||||||
open T, ">/tmp/$bug.tmp";
|
open T, ">/tmp/$bug.tmp";
|
||||||
print T "#resolve [$sum]\n\n";
|
print T "$bug #resolve [$sum]\n\n";
|
||||||
close T;
|
close T;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -39,7 +40,7 @@ my $args = join(" ", @ARGV);
|
||||||
my $gitcmd;
|
my $gitcmd;
|
||||||
|
|
||||||
if ($auto) {
|
if ($auto) {
|
||||||
$gitcmd = "git commit $args -m \"#resolve [$sum]\"";
|
$gitcmd = "git commit $args -m \"$bug #resolve [$sum]\"";
|
||||||
} else {
|
} else {
|
||||||
$gitcmd = "git commit $args -t /tmp/$bug.tmp";
|
$gitcmd = "git commit $args -t /tmp/$bug.tmp";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue