libgit2 / libgit2/libgit2sharp

Support git repositories which use the sparse checkout git feature

オープン
#1,845 コメント 1 件 リアクション 6 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

主要言語
C#
スター
3.5k
フォーク
925
PR マージ指標
30日以内にマージされた PR はありません

説明

Hello!
Git introduced a new feature called sparse-checkout This command is very useful in large repositories containing a lot of projects. Using sparse-checkout and partial repository clone allow substantially reduce occupied by the repository space on local disk.

GitDiffMargin is a useful extension for Visual Studio, This extension uses the libgit2sharp. The extension is not work with repositories uses sparse-checkout because such repositories are not supported.

Reproduction steps

Git Diff Margin get an exception unsupported repository version 1. Only versions up to 0 are supported. while creating a Repository on this line.

Refer to the according GitDiffMargin issue for more info:https://github.com/laurentkempe/GitDiffMargin/issues/356

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

GitDiffMargin/Git/GitCommands.cs の 43 行目とリンク先の GitDiffMargin issue から始め、Git と libgit2sharp によって sparse-checkout リポジトリがどのように表現されるかを確認します。sparse-checkout リポジトリでリポジトリバージョン例外を再現し、そのようなリポジトリを開いても失敗しなくなっていることを検証します。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
csharp, git
領域
devtools, tooling
issue の種類
機能追加
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。