MCPcopy
hub / github.com/git-lfs/git-lfs / git

Function git

git/git.go:220–222  ·  view source on GitHub ↗

Invoke Git with enabled LFS filters

(args ...string)

Source from the content-addressed store, hash-verified

218
219// Invoke Git with enabled LFS filters
220func git(args ...string) (*subprocess.Cmd, error) {
221 return subprocess.ExecCommand("git", args...)
222}
223
224func gitSimple(args ...string) (string, error) {
225 return subprocess.SimpleExec("git", args...)

Callers 2

UpdateIndexFromStdinFunction · 0.85
IsFileModifiedFunction · 0.85

Calls 1

ExecCommandFunction · 0.92

Tested by

no test coverage detected