Skip to content

Commit 99292f7

Browse files
committed
Pass in pkt as a PktRef to Refs.Add()
1 parent 00417ad commit 99292f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

LibGit2Sharp/GitTransport.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public void Connect()
4444
break;
4545

4646
if (pkt is PktRef)
47-
Refs.Add(pkt);
47+
Refs.Add(pkt as PktRef);
4848
}
4949
}
5050

0 commit comments

Comments
 (0)