|
|
|
Re: GIT Hooks [message #977833 is a reply to message #977386] |
Fri, 09 November 2012 16:08 |
|
Le 09/11/2012 09:42, Dan Hargreaves a écrit :
> Ok, thanks. Its maybe something that I've overlooked then - I assumed
> EGit simply wrapped around GIT providing a java library rather than
> resorting to the command line - but if it doesn't require GIT to be
> installed is it then actually a reimplementation of GIT in java?
JGit is a reimplementation of Git in pure Java (and under a license more
compatible with Eclipse): http://eclipse.org/jgit/
EGit is the integration of JGit in the Eclipse UI and Team APIs:
http://eclipse.org/egit/
Pierre-Charles David - Obeo
Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
|
|
|
Re: GIT Hooks [message #979155 is a reply to message #977833] |
Sat, 10 November 2012 17:25 |
R Shapiro Messages: 386 Registered: June 2011 |
Senior Member |
|
|
Getting back to the original question, JGIt is not a complete implementation of Git. One of the features it does not yet support is hooks, at least as far as I know.
There are a number of other missing features. Here's a list of the ones I've run into:
Commonly used operations that are not supported:
- svn
- bundle
- prune [maybe this works as part of the new 'Collect Garbage' operation]
- checkout <commit> -- <directory>
- reset <commit> -- <path>
except for the special case of resetting a single file to the HEAD revision
which can be done by unstaging workspace changes to that file.
Commonly used features that are not supported:
- Pulling from a bundle
- Hooks
- Creation of light-weight and signed tags
- Most merge options, including -s, -ff, -no-ff, -ff-only. One that is supported as of 2.1 is '--squash'.
- Merge strategies other than'resolve'. Since the
default strategy in command-line Git is 'recursive'in the
most common cases (pulling, or merging one branch) you might
get different behavior from an egit merge or pull.
- Most rebase options other than --skip, --continue and --abort.
- A number of configuration settings, including most of the
ones related to merging,
[Updated on: Sun, 11 November 2012 15:41] Report message to a moderator
|
|
|
|
Re: GIT Hooks [message #985802 is a reply to message #979155] |
Fri, 16 November 2012 08:47 |
Matthias Sohn Messages: 1268 Registered: July 2009 |
Senior Member |
|
|
R Shapiro wrote on Sat, 10 November 2012 12:25Getting back to the original question, JGIt is not a complete implementation of Git. One of the features it does not yet support is hooks, at least as far as I know.
There are a number of other missing features. Here's a list of the ones I've run into:
Commonly used operations that are not supported:
- svn
- bundle
- prune [maybe this works as part of the new 'Collect Garbage' operation]
- checkout <commit> -- <directory>
- reset <commit> -- <path>
except for the special case of resetting a single file to the HEAD revision
which can be done by unstaging workspace changes to that file.
Commonly used features that are not supported:
- Pulling from a bundle
- Hooks
- Creation of light-weight and signed tags
Use of Bouncycastle was approved in the meantime, we are still struggling to get this into Orbit [1], as soon as this is available I can continue my work on [2].
Quote:
- Most merge options, including -s, -ff, -no-ff, -ff-only. One that is supported as of 2.1 is '--squash'.
Tomasz is working on --no-ff [3]
Quote:
- Merge strategies other than'resolve'. Since the
default strategy in command-line Git is 'recursive'in the
most common cases (pulling, or merging one branch) you might
get different behavior from an egit merge or pull.
George is working on an implementation for recursive merge [4]
Quote:
- Most rebase options other than --skip, --continue and --abort.
- A number of configuration settings, including most of the
ones related to merging,
[1] https://bugs.eclipse.org/bugs/show_bug.cgi?id=391302
[2] https://bugs.eclipse.org/bugs/show_bug.cgi?id=386908
[3] https://git.eclipse.org/r/#/c/8395/
[4] https://git.eclipse.org/r/#/c/8113/
|
|
|
Powered by
FUDForum. Page generated in 0.03173 seconds