libgit2 / libgit2/libgit2sharp

Support git repositories which use the sparse checkout git feature

Đang mở
#1,845 1 bình luận 6 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Ngôn ngữ chính
C#
Star
3.5k
Fork
925
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Hướng nghiên cứu

Bắt đầu với GitDiffMargin/Git/GitCommands.cs tại dòng 43 và issue GitDiffMargin được liên kết, sau đó xem xét cách Git và libgit2sharp biểu diễn các repository sparse-checkout. Tái hiện ngoại lệ phiên bản repository với một repository sparse-checkout và xác minh rằng việc mở một repository như vậy không còn thất bại.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
csharp, git
Lĩnh vực
devtools, tooling
Loại issue
Tính năng
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
35/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.