Git version in EGit ? [message #771850] |
Wed, 28 December 2011 10:47 |
Harry Houdini Messages: 142 Registered: February 2010 |
Senior Member |
|
|
Hello,
It seems that the EGit team has reimplemented Git in Java.
On what Git version EGit is based on ?
I'd like to be able to also use Git in command line, and so work with the same version.
Thanks.
[Updated on: Wed, 28 December 2011 13:07] Report message to a moderator
|
|
|
|
Re: Git version in EGit ? [message #771919 is a reply to message #771899] |
Wed, 28 December 2011 14:27 |
R Shapiro Messages: 386 Registered: June 2011 |
Senior Member |
|
|
The implicit question seems to be: is it safe to work in a Git repository both with egit/jgit and also with command-line Git. If that's the question the answer is, yes, it's completely safe, or at least has been for me. I use both every day. You can also safely use third-party gui tools GitX, Tower, TortoiseGit and the like, as well as plugins for other IDEs (IDEA, XCode). They all play well together.
Some operations and can only be done in command-line Git and some configuration options are only respected there. Widely used examples include stash, bundle, bisect, lightweight tagging, some merge strategies and config options, and svn bridging. In that sense there's a fair chance you'll have to use command-line Git at some point. You might find it convenient to do some of these with Eclipse external launchers that reference variables defined by egit. This provides some integration. You can handle the most common uses of stash and svn bridging this way, for example. Not exactly elegant, but acceptable as a workaround. As I understand it, egit looks for command-line Git on the PATH and makes some use of it if it's found. I don't know the details though. Might be nice if it defined a variable when found, this would be very useful for external launchers.
These operations aside, go ahead and use whichever tool you prefer.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Re: Git version in EGit ? [message #1063048 is a reply to message #1062805] |
Tue, 11 June 2013 21:51 |
Robin Rosenberg Messages: 332 Registered: July 2009 |
Senior Member |
|
|
Darrell Jordan skrev 2013-06-10 23.20:
> So no one has answered the original question, which is "what version of GIT is EGIT based on?". Yes we know that EGit is a java based version of GIT and the code bases for
> GIT and EGIT are very different. However, the basic question was asked because there may be some differences between the functions that EGit and Git exposed. So far, the
> documentation at "http://wiki.eclipse.org/EGit/FAQ#How_compatible_is_EGit_with_Git.3F" does not detail this info. As noted in an earlier post, there are some differences
> between the command line and EGit that has been causing issues. I, for one, need to know what EGit version corresponds to what GIT version.
There is no such correspondence, so you cannot have that information. JGit (which implements the Git part, EGit is a user interface) is not a translation of Git. It's a
separate implementation of some of the features of Git. Most of the core features are there, but not all. As for the Wiki, anyone may update it with more information that
they know of.
> You can not tell me that EGit is always up to date with GIT either.
It is not. Features are implemented on as needed. What is "needed" is determined by the contributors.
-- robin
|
|
|
Powered by
FUDForum. Page generated in 0.04917 seconds