MCPcopy Index your code
hub / github.com/driusan/dgit / TestSimpleCommits

Function TestSimpleCommits

git/commit_test.go:13–118  ·  view source on GitHub ↗

TestSimpleCommits tests that an initial commit works, and that a second commit using it as a parent works. It also tests that the second commit can be done while in a detached head mode.

(t *testing.T)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 9

CommitIDFromStringFunction · 0.85
CheckoutCommitFunction · 0.85
ReadFileMethod · 0.80
InitFunction · 0.70
AddFunction · 0.70
CommitFunction · 0.70
StringMethod · 0.65
WriteFileMethod · 0.45
FileMethod · 0.45

Tested by

no test coverage detected