creates commits 01, 02, 03, ..., n with a new file in each The reason for padding with zeroes is so that it's easier to do string matches on the commit messages when there are many of them
(n int)
| 247 | // The reason for padding with zeroes is so that it's easier to do string |
| 248 | // matches on the commit messages when there are many of them |
| 249 | func (self *Shell) CreateNCommits(n int) *Shell { |
| 250 | return self.CreateNCommitsStartingAt(n, 1) |
| 251 | } |
| 252 | |
| 253 | func (self *Shell) CreateNCommitsStartingAt(n, startIndex int) *Shell { |
| 254 | for i := startIndex; i < startIndex+n; i++ { |
no test coverage detected