github / github/copilot-cli

Allow directory access prompt not listing directory

オープン
#4,142 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
area:permissions
主要言語
Shell
スター
11.2k
フォーク
1.9k
平均マージ
14時間 16分
マージ済み PR(30日)
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 を短くまとめたダイジェスト。