Permalink
Browse files

Fixed occasional off-by-one

Looking at the current commit is not a good idea. geekosaur++
  • Loading branch information...
AlexDaniel committed May 24, 2016
1 parent 9be5bd5 commit 68ba961854b17298225dd9b886b2af874e567556
Showing with 3 additions and 3 deletions.
  1. +2 −2 README.md
  2. +1 −1 bot.pl
@@ -13,7 +13,7 @@ Currently ``AlexDaniel`` is maintaining it.

```
<moritz> bisect: try { NaN.Rat == NaN; exit 0 }; exit 1
<bisectable> moritz: (2016-05-02) https://github.com/rakudo/rakudo/commit/949a7c7
<bisectable> moritz: (2016-05-02) https://github.com/rakudo/rakudo/commit/e2f1fa7
```

```
@@ -36,4 +36,4 @@ Run ``new-commits`` script periodically to process new commits.
Basically, that's it.

Some of these scripts are sensitive to the current working directory.
Use with care.
Use with care.
2 bot.pl
@@ -66,7 +66,7 @@ sub said {
system('git', 'bisect', 'good', $good);
system('git', 'bisect', 'bad', $bad);
system('git', 'bisect', 'run', $commit_tester, $builds, $filename);
my $result = `git log -n 1 --date=short --pretty='(%cd) $link/%h'`;
my $result = `git show --quiet --date=short --pretty='(%cd) $link/%h' bisect/bad`;
chdir($oldDir);

return "$message->{who}: $result";

0 comments on commit 68ba961

Please sign in to comment.