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

Function parseCommonDiffFlags

cmd/commondiff.go:16–54  ·  view source on GitHub ↗

Sets up common options for git diff-files, diff-index and diff-tree and parses them. Any unique parameters must already be set up in flags before calling this, because this will call flags.Parse

(c *git.Client, options *git.DiffCommonOptions, defaultPatch bool, flags *flag.FlagSet, args []string)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

DiffFunction · 0.85
DiffIndexFunction · 0.85
DiffFilesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected