Skip to content

Commit efb35f3

Browse files
committed
Update extension description to clarify non-agentic AI coding and improve repository selection for commits
1 parent 03d2d92 commit efb35f3

2 files changed

Lines changed: 10 additions & 8 deletions

File tree

apps/editor/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "gemini-coder",
33
"displayName": "Code Web Chat",
4-
"description": "Connect VS Code with chatbots (CWC)",
4+
"description": "Non-agentic AI coding (CWC)",
55
"version": "1.917.0",
66
"scripts": {
77
"build": "npx vsce package --no-dependencies",

apps/editor/src/utils/git-repository-utils.ts

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -60,16 +60,18 @@ export const get_git_repository = async (
6060
repo.state.workingTreeChanges.length > 0
6161
)
6262

63-
const repositories_to_show =
64-
repositories_with_changes.length > 0
65-
? repositories_with_changes
66-
: repositories
63+
if (repositories_with_changes.length == 0) {
64+
vscode.window.showInformationMessage(
65+
dictionary.information_message.NO_CHANGES_TO_COMMIT
66+
)
67+
return null
68+
}
6769

68-
if (repositories_to_show.length == 1) {
69-
return repositories_to_show[0]
70+
if (repositories_with_changes.length == 1) {
71+
return repositories_with_changes[0]
7072
}
7173

72-
const picks = repositories_to_show.map((repo) => {
74+
const picks = repositories_with_changes.map((repo) => {
7375
const folder = vscode.workspace.getWorkspaceFolder(repo.rootUri)
7476
return {
7577
label: folder ? folder.name : path.basename(repo.rootUri.fsPath),

0 commit comments

Comments
 (0)