Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EGit / JGit » GIT Versions supported(Which version of GIT is supported by JGit 4.11?)
GIT Versions supported [message #1801235] Tue, 15 January 2019 16:47 Go to next message
Pradeep Badiger is currently offline Pradeep BadigerFriend
Messages: 1
Registered: January 2019
Junior Member
Hi,

I am trying to find the GIT versions supported by JGit v4.11. I couldnt find anything within JGit documentation. Can someone help me with the information?

thanks,
Pradeep V.B.
Re: GIT Versions supported [message #1801322 is a reply to message #1801235] Wed, 16 January 2019 17:45 Go to previous messageGo to next message
Matthias Sohn is currently offline Matthias SohnFriend
Messages: 1177
Registered: July 2009
Senior Member
JGit is a pure Java reimplementation of git implementing the same protocols and storage format used by native git.
Though it does not depend on native git. Also it does not support all functionality supported by native git and it
also provides some additional functionality. JGit comes as a set of Java libraries which can be used by applications
to implement git functionality.

In addition there is a JGit command line client implementing many, but not all, of the commands also supported by native git
Some of the features and some options of the JGit libraries are not exposed by the JGit command line client.

Hence there is no simple mapping to native git versions.
Re: GIT Versions supported [message #1835190 is a reply to message #1801235] Thu, 26 November 2020 16:51 Go to previous messageGo to next message
Sylvain Dehors is currently offline Sylvain DehorsFriend
Messages: 1
Registered: November 2020
Junior Member
Hello,

How do you recommend to document the git compatibility of a software relying on jgit ?
Re: GIT Versions supported [message #1835263 is a reply to message #1835190] Sat, 28 November 2020 15:36 Go to previous message
Thomas Wolf is currently offline Thomas WolfFriend
Messages: 373
Registered: August 2016
Senior Member
We don't make any recommendations on that. It depends on your documentation requirements, on how your software uses JGit, and on the versions of JGit and C git that you want to compare.

JGit can clone/fetch/push/pull to/from any git server, and git clones can be manipulated with JGit and C git. JGit's implementation of repository manipulations and of the protocol for fetching or pushing conforms to what C git defines.

As Matthias mentioned above, JGit does not implement all of the features C git provides. Some advanced features are missing. There may be differences in HTTP or SSH communication due to different libraries being used.

On Windows, there may be differences with "symbolic links", and you should use core.filemode=false with JGit as there is no support for the executable bit on Windows.

[Updated on: Sat, 28 November 2020 22:30]

Report message to a moderator

Previous Topic:Disable eGit Logging output
Next Topic:assume unchanged
Goto Forum:
  


Current Time: Sat Jun 19 16:07:22 GMT 2021

Powered by FUDForum. Page generated in 0.02311 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top