libgit2 / libgit2/libgit2sharp

LibGit2Sharp.Tests case where it pulls recent remote change and then checks it out?

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

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

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

説明

I am having issues with getting REALLY RECENT new object commits when I do a pull/checkout of a branch. I looked through the Tests and didn’t see anywhere that was obviously doing this sort of test. Is there one?

Reproduction steps

Commit a brand new object using GitHub website.
Do a Commands.Pull/Commands.Checkout of the branch containing the object

Expected behavior

See new object

Actual behavior

Object is missing. Of note, I found that for some reason, if I get EVERY branch in the repo and then checkout the branch I actually need, I’ll end up with the new object most of the time (but not every time).

Version of LibGit2Sharp (release number or SHA1)

0.25.2

Operating system(s) tested; .NET runtime tested

Windows 7, Windows 10, .NET 4.7.1

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

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

はじめの一歩

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

調査の方向性

LibGit2Sharp.Tests で Commands.Pull と Commands.Checkout のカバレッジを探すことから始めます。GitHub のウェブサイトから新しく commit したオブジェクトを使ってシーケンスを再現し、その後、checkout されたブランチからそのオブジェクトにアクセスできるかどうかを確認します。動作を理解し、信頼できるテストでカバーできれば完了です。

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

評価

技術スタック
csharp, git
領域
devtools
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
25/100

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

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