(configuration config.Configuration)
| 38 | } |
| 39 | |
| 40 | func lastCommitIsWipCommit(configuration config.Configuration) bool { |
| 41 | return strings.HasPrefix(lastCommitMessage(), configuration.WipCommitMessage) |
| 42 | } |
| 43 | |
| 44 | func lastCommitMessage() string { |
| 45 | return silentgit("log", "-1", "--pretty=format:%B") |
no test coverage detected