Skip to content

Instantly share code, notes, and snippets.

@Whateverable
Created April 5, 2017 01:27
Show Gist options
  • Save Whateverable/a2c4f700522c54bd359101f51bf0e608 to your computer and use it in GitHub Desktop.
Save Whateverable/a2c4f700522c54bd359101f51bf0e608 to your computer and use it in GitHub Desktop.
bisectable6
print "" for (^10).grep: /^ <?{ say $++ }>/;
Bisecting: 1908 revisions left to test after this (roughly 11 steps)
[6e2a5595bd595aecd1e0a6684897015e502ecbdd] remove '//' and others without using a regex.
»»»»» Testing 6e2a5595bd595aecd1e0a6684897015e502ecbdd
»»»»» Script output:
0
1
2
3
4
5
6
7
8
9
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
0
1
2
3
4
5
6
7
8
9
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 9f07e1a56a0f4c8aa9ddbde03a27f0fda6b2012c
»»»»» Script output:
0
0
0
0
0
0
0
0
0
0
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
0
1
2
3
4
5
6
7
8
9
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing ce85ba378d295a120b7c75ee865a960aae132a36
»»»»» Script output:
0
0
0
0
0
0
0
0
0
0
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
0
1
2
3
4
5
6
7
8
9
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing f117a61595fa77ba1a22079a37f9b1c242ada893
»»»»» Script output:
0
1
2
3
4
5
6
7
8
9
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
0
1
2
3
4
5
6
7
8
9
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 863d8d0f8e8b622fb23013f976d8c3302b3ae416
»»»»» Script output:
0
0
0
0
0
0
0
0
0
0
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
0
1
2
3
4
5
6
7
8
9
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 4f3681b75d092f789261f946466562f21955a81a
»»»»» Script output:
0
1
2
3
4
5
6
7
8
9
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
0
1
2
3
4
5
6
7
8
9
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing aaec5177e293d21febe42cd8e42e208fb99308d0
»»»»» Script output:
0
0
0
0
0
0
0
0
0
0
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
0
1
2
3
4
5
6
7
8
9
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing e0619f48cc2327ef76f8251b7538e5398396b99e
»»»»» Script output:
0
0
0
0
0
0
0
0
0
0
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
0
1
2
3
4
5
6
7
8
9
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 71a01e956f5ab91d64f31d8af8d4c9dfab4e392c
»»»»» Script output:
0
0
0
0
0
0
0
0
0
0
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
0
1
2
3
4
5
6
7
8
9
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 697a0ae14d2777745981df381406640abb7dde8b
»»»»» Script output:
0
0
0
0
0
0
0
0
0
0
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
0
1
2
3
4
5
6
7
8
9
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 8e9fd0a61b18ce365965d519433f4b90bd0e96d1
»»»»» Script output:
0
0
0
0
0
0
0
0
0
0
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
0
1
2
3
4
5
6
7
8
9
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 7a456ff80183a6e26dc91d811d992112c68ddb6d
»»»»» Script output:
0
0
0
0
0
0
0
0
0
0
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
0
1
2
3
4
5
6
7
8
9
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
7a456ff80183a6e26dc91d811d992112c68ddb6d is the first new commit
commit 7a456ff80183a6e26dc91d811d992112c68ddb6d
Author: Jonathan Worthington <jnthn@jnthn.net>
Date: Wed Oct 19 16:12:16 2016 +0200
Missing clone of codeblocks embedded in regexes.
Could cause over-sharing when a grammar was used on multiple threads.
:040000 040000 2747e3f8d249c3488a620d2ed0b91f5e4a147392 c987aaab678ed43d63524979a0e50a13cc90690a M src
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment