Created
February 28, 2017 21:28
-
-
Save taichino/6c023524bdd4df14b1623b53cf0c5f82 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for _ in [0...Globals.UPDATE_REPEAT] { | |
SRKTransaction.transaction({ | |
self.commit.message = randomString(length: self.commit.message.characters.count) | |
self.commit.commit() // this happened to be confusing :P (commit object is committing the change) | |
}, withRollback: {}) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment