aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2024-04-10 13:14:37 -0400
committerJoseph Hunkeler <jhunkeler@gmail.com>2024-04-10 13:14:37 -0400
commit6aba9286a027c84435de70bfc08c2a00e46f2de2 (patch)
tree7762e7a243a13277129c78df1f738de767a22d7a /src
parenta21bec65feb51a7a2800d4992709e0e26b693690 (diff)
downloadstasis-6aba9286a027c84435de70bfc08c2a00e46f2de2.tar.gz
Disable git output pagination
Diffstat (limited to 'src')
-rw-r--r--src/deliverable.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/deliverable.c b/src/deliverable.c
index 92dd273..b7dd973 100644
--- a/src/deliverable.c
+++ b/src/deliverable.c
@@ -695,6 +695,9 @@ int delivery_init(struct Delivery *ctx) {
sprintf(pathvar_tmp, "%s/bin:%s", ctx->storage.tools_dir, getenv("PATH"));
setenv("PATH", pathvar_tmp, 1);
+ // Prevent git from paginating output
+ setenv("GIT_PAGER", "", 1);
+
populate_delivery_ini(ctx);
if (ctx->deploy.docker.tags) {