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

Function ReadTreeThreeWay

git/readtree.go:130–367  ·  view source on GitHub ↗

ReadTreeThreeWay will perform a three-way merge on the trees stage1, stage2, and stage3. In a normal merge, stage1 is the common ancestor, stage2 is "our" changes, and stage3 is "their" changes. See git-read-tree(1) for details. If options.DryRun is not false, it will also be written to the Client'

(c *Client, opt ReadTreeOptions, stage1, stage2, stage3 Treeish)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 4

ReadTreeFunction · 0.92
TestStatusFunction · 0.85
MergeFunction · 0.85

Calls 15

checkReadtreePrereqsFunction · 0.85
GetIndexMapFunction · 0.85
ByPathTypeAlias · 0.85
samePathFunction · 0.85
NewIndexFunction · 0.85
checkMergeAndUpdateFunction · 0.85
readtreeSaveIndexFunction · 0.85
ReadIndexMethod · 0.80
GetMapMethod · 0.80
ContainsMethod · 0.80
IsCleanMethod · 0.80
HasDirMethod · 0.80

Tested by 2

TestStatusFunction · 0.68