(configuration config.Configuration)
| 849 | } |
| 850 | |
| 851 | func makeWipCommit(configuration config.Configuration) { |
| 852 | git("add", "--all") |
| 853 | commitMessage := createWipCommitMessage(configuration) |
| 854 | gitWithoutEmptyStrings("commit", "--message", commitMessage, gitHooksOption(configuration)) |
| 855 | say.InfoIndented(getChangesOfLastCommit()) |
| 856 | say.InfoIndented(gitCommitHash()) |
| 857 | } |
| 858 | |
| 859 | func createWipCommitMessage(configuration config.Configuration) string { |
| 860 | commitMessage := configuration.WipCommitMessage |
no test coverage detected