github / github/copilot-cli

Allow directory access prompt not listing directory

未關閉
#4,142 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
area:permissions
主要語言
Shell
星號
11.2k
分支
1.9k
平均合併
14 小時 16 分鐘
30 天內合併 PR
6

描述

### Describe the bug

I'm getting prompts to allow directory access that are not listing the directory that the request is for or I am getting a partial request.
This is the shell command that it is trying to execute
Shell Check git status in Storage-MDMToKusto repo
git -C C:\Users\shariceg\workspace\Storage-MDMToKusto status --short

Image

Another example

Image

### Affected version

1.0.70

### Steps to reproduce the behavior

_No response_

### Expected behavior

the text in the box should show the path where access is being requested

### Additional context

_No response_

貢獻指南

開啟貢獻指南

研究方向

首先在 1.0.70 版本中重現對 `git -C C:\Users\shariceg\workspace\Storage-MDMToKusto status --short` 的目錄存取提示,並將顯示的要求與命令的完整路徑進行比較。當提示一律顯示所要求存取的完整目錄路徑時,即表示完成。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
shell
領域
cli
Issue 類型
缺陷
難度
3/5
預估耗時
1-2 天
活躍度
冷清
描述清晰度
需要釐清
新手友好度
45/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。