From 830e1aa2a898d9efbcc0488cc69e96e2d498c1ee Mon Sep 17 00:00:00 2001 From: Sam Thomas Date: Wed, 29 Nov 2023 11:26:38 +0000 Subject: [PATCH] feat: no pager --- src/git/doGitDiff.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/git/doGitDiff.ts b/src/git/doGitDiff.ts index 7651d0c7..78498769 100644 --- a/src/git/doGitDiff.ts +++ b/src/git/doGitDiff.ts @@ -2,5 +2,5 @@ import spawn from "../utils/spawn.js"; import gitLogger from "./utils/gitLogger.js"; export default async function gitDiff() { - await spawn("git", ["diff"], gitLogger); + await spawn("git", ["--no-pager", "diff", "--name-only"], gitLogger); }