gitsharp clone http repository failed

337 views
Skip to first unread message

Phnix

unread,
Sep 1, 2011, 4:53:42 AM9/1/11
to GitSharp
i use the code blow:
Repository repository = Git.Clone("http://github.com/kingliang123/
Test.git", @"D:\bonoboRep2");
then appear mistake message:
"http://github.com/kingliang123/Test.git/info/refs: cannot Read
available refs"

but if i use

Repository repository = Git.Clone("git://github.com/kingliang123/
Test.git", @"D:\bonoboRep2");

it work...
so, why?
gitsharp can't support http type?

Meinrad Recheis

unread,
Sep 5, 2011, 2:31:25 PM9/5/11
to gits...@googlegroups.com
http is supported but as it seems there is a bug.
-- henon.


--
For infos about GitSharp visit http://www.eqqon.com/index.php/GitSharp
To join this group visit http://groups.google.com/group/gitsharp

Phnix

unread,
Sep 6, 2011, 2:08:57 AM9/6/11
to GitSharp
yes, even i use gitsharp client, also have mistake...
then debug in source code, if it is "http", just throw a exception...


On 9月6日, 上午2时31分, Meinrad Recheis <meinrad.rech...@gmail.com> wrote:
> http is supported but as it seems there is a bug.
> -- henon.
>
>
>
>
>
>
>
> On Thu, Sep 1, 2011 at 10:53 AM, Phnix <5bjinli...@gmail.com> wrote:
> > i use the code blow:
> > Repository repository = Git.Clone("http://github.com/kingliang123/
> > Test.git", @"D:\bonoboRep2");
> > then appear mistake message:
> > "http://github.com/kingliang123/Test.git/info/refs:cannot Read
> > available refs"
>
> > but if i use
>
> > Repository repository = Git.Clone("git://github.com/kingliang123/
> > Test.git", @"D:\bonoboRep2");
>
> > it work...
> > so, why?
> > gitsharp can't support http type?
>
> > --
> > For infos about GitSharp visithttp://www.eqqon.com/index.php/GitSharp
Reply all
Reply to author
Forward
0 new messages