Feature Request: git_status_list_new for single folder - non recursive
オープン
まだ誰も着手していません。
- 主要言語
- C
- スター
- 10.6k
- フォーク
- 2.7k
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
Hi,
this is a follow up from stackoverflow.
With git CLI I can query the status for a single folder non recursive by using a glob pattern like so:
git status ':(glob)*' // matches root but no subdirectories
git status ':(glob)myFolder/*' // matches myFolder but no subdirectories
I'd love to do the same using git_status_list_new. Using the pathspec property on git_status_options I don't see a way to achieve this.
Passing * and myFolder/* computes the status for the entire project and for myFolder recursively.
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
git_status_list_new API、git_status_options、およびその pathspec の処理から始め、issue にある git CLI の glob の例と動作を比較します。呼び出し側が、サブディレクトリを再帰的に含めずに、ルートレベルまたは単一フォルダーのエントリを要求でき、両方の例をカバーできれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- c, git
- 領域
- devtools
- issue の種類
- 機能追加
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100