Commit performs a git commit
(t *testing.T, g *TestGitRepo, message string)
| 278 | |
| 279 | // Commit performs a git commit |
| 280 | func Commit(t *testing.T, g *TestGitRepo, message string) { |
| 281 | if !assert.NoError(t, g.Commit(message)) { |
| 282 | t.FailNow() |
| 283 | } |
| 284 | } |
| 285 | |
| 286 | func CommitTag(t *testing.T, g *TestGitRepo, tag string) { |
| 287 | Commit(t, g, tag) |