@plurnk/plurnk-execs-git
v1.8.0
Published
Native Git runtime executor for plurnk-service's exec scheme, using direct argv execution without a shell.
Downloads
4,854
Maintainers
Readme
@plurnk/plurnk-execs-git
Native Git for Plurnk Service's
EXEC scheme. ## EXEC0 [git] invokes the installed git binary with ordinary Git
arguments. Arguments are tokenized into argv and executed directly, never
interpreted by a shell.
Contract
gitmeans native Git. Plurnk does not replace or reinterpret its commands.- Native stdout and stderr are preserved as
#stdoutand#stderrunder the emittedgit:///<loop>/<turn>/<sequence>address ({§executor-output-address}). (target)names the repo directory and maps to Git's-Coption.- Repository-local
GIT_*variables inherited from a launcher cannot override the selected workspace or(target); normal Git configuration still applies. - An unavailable Git binary makes the runtime unavailable; there is no fallback.
- Every invocation is
hostand therefore proposal-gated ({§executor-effect}).
Git may invoke repository hooks, aliases, credential helpers, and network
operations. Deployments that do not grant those capabilities should disable the
runtime with PLURNK_EXECS_GIT=0.
Usage
## EXEC0 [git]
status --short
## EXEC0 [git]
checkout -b feature/example
## EXEC0 [git]
add .
## EXEC0 [git]
commit -m "save work"
## EXEC0 [git] (./subrepo)
log --oneline -5The repo's normal Git configuration determines author identity and other native behavior.
