func SubmodulePrefix(path string) func(*types.Cmd) {
	return func(g *types.Cmd) {
		g.AddOptions(fmt.Sprintf("--submodule-prefix=%s", path))
	}
}
SubmodulePrefix Prepend <path> to paths printed in informative messages.
--submodule-prefix=<path>
package fetch
import (
	"fmt"
	"github.com/ldez/go-git-cmd-wrapper/v2/types"
)
func All(g *types.Cmd) {
	g.AddOptions("--all")
}
func Append(g *types.Cmd) {
	g.AddOptions("--append")
}
func Deepen(depth string) func(*types.Cmd) {
	return func(g *types.Cmd) {
		g.AddOptions(fmt.Sprintf("--deepen=%s", depth))
	}
}
func Depth(value string) func(*types.Cmd) {
	return func(g *types.Cmd) {
		g.AddOptions(fmt.Sprintf("--depth=%s", value))
	}
}
func DryRun(g *types.Cmd) {
	g.AddOptions("--dry-run")
}
func Force(g *types.Cmd) {
	g.AddOptions("--force")
}
func Ipv4(g *types.Cmd) {
	g.AddOptions("--ipv4")
}
func Ipv6(g *types.Cmd) {
	g.AddOptions("--ipv6")
}
func Jobs(n string) func(*types.Cmd) {
	return func(g *types.Cmd) {
		g.AddOptions(fmt.Sprintf("--jobs=%s", n))
	}
}
func Keep(g *types.Cmd) {
	g.AddOptions("--keep")
}
func Multiple(g *types.Cmd) {
	g.AddOptions("--multiple")
}
func NoRecurseSubmodules(g *types.Cmd) {
	g.AddOptions("--no-recurse-submodules")
}
func NoTags(g *types.Cmd) {
	g.AddOptions("--no-tags")
}
func Progress(g *types.Cmd) {
	g.AddOptions("--progress")
}
func Prune(g *types.Cmd) {
	g.AddOptions("--prune")
}
func Quiet(g *types.Cmd) {
	g.AddOptions("--quiet")
}
func RecurseSubmodules(value string) func(*types.Cmd) {
	return func(g *types.Cmd) {
		if len(value) == 0 {
			g.AddOptions("--recurse-submodules")
		} else {
			g.AddOptions(fmt.Sprintf("--recurse-submodules=%s", value))
		}
	}
}
func RecurseSubmodulesDefault(value string) func(*types.Cmd) {
	return func(g *types.Cmd) {
		g.AddOptions(fmt.Sprintf("--recurse-submodules-default=%s", value))
	}
}
func Refmap(refspec string) func(*types.Cmd) {
	return func(g *types.Cmd) {
		g.AddOptions(fmt.Sprintf("--refmap=%s", refspec))
	}
}
func ShallowExclude(revision string) func(*types.Cmd) {
	return func(g *types.Cmd) {
		g.AddOptions(fmt.Sprintf("--shallow-exclude=%s", revision))
	}
}
func ShallowSince(date string) func(*types.Cmd) {
	return func(g *types.Cmd) {
		g.AddOptions(fmt.Sprintf("--shallow-since=%s", date))
	}
}