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

Function gitCommitHash

mob.go:1224–1227  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1222}
1223
1224func gitCommitHash() string {
1225 output, _ := silentgitignorefailure("rev-parse", "HEAD")
1226 return output
1227}
1228
1229func gitVersion() string {
1230 _, output, err := runCommandSilent("git", "--version")

Callers 1

makeWipCommitFunction · 0.85

Calls 1

silentgitignorefailureFunction · 0.85

Tested by

no test coverage detected