MCPcopy Create free account
hub / github.com/driusan/dgit / ReadTreeFastForward

Function ReadTreeFastForward

git/readtree.go:372–537  ·  view source on GitHub ↗

ReadTreeFastForward will return a new Index with parent fast-forwarded to from parent to dst. Local modifications to the work tree will be preserved. If options.DryRun is not false, it will also be written to the Client's index file.

(c *Client, opt ReadTreeOptions, parent, dst Treeish)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

ReadTreeFunction · 0.92
MergeFunction · 0.85

Calls 10

checkReadtreePrereqsFunction · 0.85
GetIndexMapFunction · 0.85
NewIndexFunction · 0.85
checkMergeAndUpdateFunction · 0.85
readtreeSaveIndexFunction · 0.85
ReadIndexMethod · 0.80
GetMapMethod · 0.80
IsCleanMethod · 0.80
ExistsMethod · 0.45
FileMethod · 0.45

Tested by

no test coverage detected