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

Function testMergeBaseSimpleSetup

git/mergebase_test.go:22–92  ·  view source on GitHub ↗

Does the setup for TestMergeBase so that the test can focus on the real merge-base test. This sets up a tree that looks like B A \ C So that we can test both fast-forward and divergent merge-bases in a simple case. The caller must cleanup tmpdir when done.

(t *testing.T)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

TestMergeBaseSimpleFunction · 0.85

Calls 6

CreateBranchMethod · 0.80
InitFunction · 0.70
AddFunction · 0.70
CommitFunction · 0.70
CheckoutFunction · 0.70
WriteFileMethod · 0.45

Tested by

no test coverage detected