Skip to content

Commit

Permalink
Fixed occasional off-by-one
Browse files Browse the repository at this point in the history
Looking at the current commit is not a good idea. geekosaur++
  • Loading branch information
AlexDaniel committed May 24, 2016
1 parent 9be5bd5 commit 68ba961
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -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
```

```
Expand All @@ -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 changes: 1 addition & 1 deletion bot.pl
Expand Up @@ -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";
Expand Down

0 comments on commit 68ba961

Please sign in to comment.