(t *testing.T)
| 12 | ) |
| 13 | |
| 14 | func initGitForCommitMsg(t *testing.T) test.TempDir { |
| 15 | tempDir := test.NewTempDir(t, 1) |
| 16 | tempDir.RequireExec("git", "init", "--quiet", ".") |
| 17 | return tempDir |
| 18 | } |
| 19 | |
| 20 | func writeCommitEditMsg(t *testing.T, data string) string { |
| 21 | name := path.Join(t.TempDir(), "COMMIT_EDITMSG") |
no test coverage detected