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

Function TestCommitAmend

git/commit_test.go:193–348  ·  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 5

CommitIDFromStringFunction · 0.85
InitFunction · 0.70
AddFunction · 0.70
CommitFunction · 0.70
WriteFileMethod · 0.45

Tested by

no test coverage detected