Documentation
¶
Overview ¶
Package gitexec provides the low-level process boundary for local git commands.
Index ¶
Constants ¶
View Source
const MaxPatchBytes = 1 << 20
MaxPatchBytes is the most of a patch shown to a reader. Past it, the patch is cut, as a lockfile or generated code can make one tens of megabytes.
Variables ¶
View Source
var PatchFlags = []string{"--no-color", "--no-ext-diff", "--no-textconv"}
PatchFlags make git's diff output a plain patch, whatever the user's git configuration says about colour, external diff tools and text conversion.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.