MCPcopy Create free account
hub / github.com/blobcache/blobcache / gitCommit

Function gitCommit

src/schema/bcgit/remote_test.go:186–189  ·  view source on GitHub ↗
(t testing.TB, te testEnv, files ...string)

Source from the content-addressed store, hash-verified

184}
185
186func gitCommit(t testing.TB, te testEnv, files ...string) {
187 cmd(t, te, "git", append([]string{"add"}, files...)...)
188 cmd(t, te, "git", "commit", "-m", "commit")
189}
190
191func gitPush(t testing.TB, te testEnv, remoteName, branch string) {
192 cmd(t, te, "git", "push", "-u", remoteName, branch)

Callers 3

TestPushTagsFunction · 0.85
TestPushBranchFunction · 0.85
TestPushPullFunction · 0.85

Calls 1

cmdFunction · 0.85

Tested by

no test coverage detected