git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: C# Git Implementation

From
henon <meinrad.recheis@gmail.com>
Date
Jul 11, 2009, 21:25 UTC
Message-ID
<1247347556196-3243735.post@n2.nabble.com>
In-Reply-To
<alpine.DEB.2.00.0811291308120.17643@vellum.laroia.net>
Asheesh Laroia-2 wrote:
Show 14 quoted lines
> 
> On Fri, 28 Nov 2008, JD Guzman wrote:
> 
>> I read in the archives that there was once talk of porting Git over to 
>> C# and was wondering if anything ever came of this?  I realize there 
>> were some that didn't see the use for this but as Git is becoming more 
>> and more popular a more native implementation of Git for windows users 
>> would be a good endevour IMHO.
> 
> Is it possible to compile the Java-language jgit with the Common Language 
> Runtime and access that from a C# application?
> 
> -- Asheesh.
> 
Hi,
Just in case some of you are still interested in a git implementation in C#.
I evaluated all of the existing projects and chose the one of them which was
most advanced and had the most promising strategy of getting done soon:
kevin thompsons gitty. gitty is a  port of about 6k of ~20k lines of a jgit
snapshot from 2008. The gitty code is mostly not working because it has
never been debugged after porting.
 
I figured that the easiest way to a pure c# implementation of git is to port
jgit. Automatic porting attempts have not really been successful so I
decided to do it manually. Based on Kevin's very erraneous but yet valuable
work I ported even more substantial parts of jgit and its tests to C# and
got much of the code working as the over 200 passing tests can tell. By now
we have ported about 47% of the jgit source (snapshot from june 2009) and
got reading of repos and writing of trees, blobs and commits to work
already. The project is called Git# now and has already found a few
contributors on github. More info is available at the 
http://www.eqqon.com/index.php/GitSharp Git#  website.

I know that there have been several attempts by the Mono project to create a git implementation in C#. They seem inactive and in a very basic state to me but correct me if I am wrong. I will try to contact the mono folks for collaboration on the matter.

-- henon
-- 
View this message in context: http://n2.nabble.com/C--Git-Implementation-tp1589227p3243735.html
Sent from the git mailing list archive at Nabble.com.
Previous: Robin RosenbergNext: Frank Li
Message 7 of 8 in “C# Git Implementation”
  1. JD GuzmanNov 28, 2008
  2. Reece DunnNov 28, 2008
  3. Andreas EricssonNov 29, 2008
  4. Asheesh LaroiaNov 29, 2008
  5. Alejandro RiveiraNov 29, 2008
  6. Robin RosenbergNov 29, 2008
  7. henonJul 11, 2009
  8. Frank LiJul 13, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.