From 6aba9286a027c84435de70bfc08c2a00e46f2de2 Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Wed, 10 Apr 2024 13:14:37 -0400 Subject: Disable git output pagination --- src/deliverable.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') 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) { -- cgit