MCPcopy Create free account
hub / github.com/remotemobprogramming/mob / makeWipCommit

Function makeWipCommit

mob.go:851–857  ·  view source on GitHub ↗
(configuration config.Configuration)

Source from the content-addressed store, hash-verified

849}
850
851func 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
859func createWipCommitMessage(configuration config.Configuration) string {
860 commitMessage := configuration.WipCommitMessage

Callers 3

squashWipFunction · 0.85
nextFunction · 0.85
doneFunction · 0.85

Calls 7

InfoIndentedFunction · 0.92
gitFunction · 0.85
createWipCommitMessageFunction · 0.85
gitWithoutEmptyStringsFunction · 0.85
gitHooksOptionFunction · 0.85
getChangesOfLastCommitFunction · 0.85
gitCommitHashFunction · 0.85

Tested by

no test coverage detected