From 8b94aa4c368875c77a251f150397aeb954270df3 Mon Sep 17 00:00:00 2001 From: fishshi <2855691008@qq.com> Date: Fri, 8 Nov 2024 14:30:31 +0800 Subject: [PATCH 1/2] add gitfile to ig --- src/extension/embeddings.ts | 1 + src/extension/utils.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/src/extension/embeddings.ts b/src/extension/embeddings.ts index 04c3ea5a..82339516 100644 --- a/src/extension/embeddings.ts +++ b/src/extension/embeddings.ts @@ -103,6 +103,7 @@ export class EmbeddingDatabase extends Base { ) ig.add(embeddingIgnoredGlobs) + ig.add([".git", ".gitignore"]) const gitIgnoreFilePath = path.join(rootPath, ".gitignore") diff --git a/src/extension/utils.ts b/src/extension/utils.ts index 8d87f4f4..42f34566 100644 --- a/src/extension/utils.ts +++ b/src/extension/utils.ts @@ -663,6 +663,7 @@ export async function getAllFilePaths(dirPath: string): Promise { ) ig.add(embeddingIgnoredGlobs) + ig.add([".git", ".gitignore"]) const gitIgnoreFilePath = path.join(rootPath, ".gitignore") From 1fb7996375390cf6b5fb72893f6417a90b5c9631 Mon Sep 17 00:00:00 2001 From: rjmacarthy Date: Fri, 8 Nov 2024 08:43:38 +0000 Subject: [PATCH 2/2] 3.18.9 --- package-lock.json | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index 71558609..d286a374 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "twinny", - "version": "3.18.8", + "version": "3.18.9", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "twinny", - "version": "3.18.8", + "version": "3.18.9", "cpu": [ "x64", "arm64" diff --git a/package.json b/package.json index 1b4fee2a..aaca5136 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "twinny", "displayName": "twinny - AI Code Completion and Chat", "description": "Locally hosted AI code completion plugin for vscode", - "version": "3.18.8", + "version": "3.18.9", "icon": "assets/icon.png", "keywords": [ "code-inference",