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

Function lastCommitIsWipCommit

squash_wip.go:40–42  ·  view source on GitHub ↗
(configuration config.Configuration)

Source from the content-addressed store, hash-verified

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

Callers 2

squashWipFunction · 0.85

Calls 1

lastCommitMessageFunction · 0.85

Tested by

no test coverage detected