libgit2

git_apply_location_t

Version:

Possible application locations for git_apply

Values

GIT_APPLY_LOCATION_WORKDIR
0

Apply the patch to the workdir, leaving the index untouched. This is the equivalent of git apply with no location argument.

GIT_APPLY_LOCATION_INDEX
(1 << 0)

Apply the patch to the index, leaving the working directory untouched. This is the equivalent of git apply --cached.

GIT_APPLY_LOCATION_BOTH
(1 << 1)

Apply the patch to both the working directory and the index. This is the equivalent of git apply --index.

Parameter To

Versions