From 881b5eae245748a145b6e06dc66c6931bb088b83 Mon Sep 17 00:00:00 2001 From: Peli de Halleux Date: Thu, 3 Oct 2024 22:20:52 +0000 Subject: [PATCH 1/2] Add local files to .gitignore --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index d07ffcaa39..764c0e64ed 100644 --- a/.gitignore +++ b/.gitignore @@ -20,3 +20,4 @@ yarn-error.log test.sh esbuild.*.json esbuild.*.html +*.local.* \ No newline at end of file From 1543fc1fbe32720010f379dff012bd2c0d0c37b0 Mon Sep 17 00:00:00 2001 From: Peli de Halleux Date: Thu, 3 Oct 2024 22:22:55 +0000 Subject: [PATCH 2/2] Add comment to git.ts in GitClient class --- packages/core/src/git.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/core/src/git.ts b/packages/core/src/git.ts index 913ca4e79f..70ce014905 100644 --- a/packages/core/src/git.ts +++ b/packages/core/src/git.ts @@ -227,6 +227,7 @@ export class GitClient implements Git { unified?: number llmify?: boolean }): Promise { + // change const paths = arrayify(options?.paths, { filterEmpty: true }) const excludedPaths = await this.resolveExcludedPaths(options) const { staged, base, head, unified, askStageOnEmpty } = options || {}