Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "JGit/FAQ"

(How to inspect the git index)
(Where can I find older releases of JGit?)
(18 intermediate revisions by 2 users not shown)
Line 9: Line 9:
 
...
 
...
 
</pre>
 
</pre>
* The debug-show-dircache command in jgit-cli.jar (get it from the jgit maven build) provides some more details  
+
* The debug-show-dir-cache command provided by jgit.sh (get it from [http://www.eclipse.org/jgit/download/ JGit download page]) provides some more details  
  
 
<pre>$ java -jar jgit-cli.jar --git-dir /c/git/jgit/.git debug-show-dircache
 
<pre>$ java -jar jgit-cli.jar --git-dir /c/git/jgit/.git debug-show-dircache
Line 24: Line 24:
 
Find the list of older p2 repositories [[EGit/FAQ#Where_can_I_find_older_releases_of_EGit.3F|here]]
 
Find the list of older p2 repositories [[EGit/FAQ#Where_can_I_find_older_releases_of_EGit.3F|here]]
  
All versions available from the JGit Maven repository at http://download.eclipse.org/jgit/maven/
+
'''JGit versions up to 2.3.1'''
 +
* Available from the JGit Maven repository at http://download.eclipse.org/jgit/maven/
 +
* You can browse the jar files manually at http://download.eclipse.org/jgit/maven/org/eclipse/jgit/?d
  
 +
'''JGit versions since 3.0.0'''
 +
* Since 3.0.0 JGit maven artifacts are published on the Eclipse Nexus at https://repo.eclipse.org/content/repositories/jgit-releases/
 +
 +
'''JGit on Maven Central'''
 +
* Since 1.2 the JGit libraries are also published on [http://search.maven.org/#search%7Cga%7C1%7Cjgit Maven central].
 +
<br/>
 +
 +
== JGit Releases ==
 +
Find more information about JGit releases in the [https://projects.eclipse.org/projects/technology.jgit/governance project portal]
 
{| cellpadding="3" cellspacing="0" border="1"
 
{| cellpadding="3" cellspacing="0" border="1"
 
!Release Version
 
!Release Version
 
|-
 
|-
|1.0.0.2011060090707-r
+
|3.5.1.201410131835-r
 
|-
 
|-
|0.12.1 (Incubation)
+
|3.5.0.201409260305-r
 
|-
 
|-
|0.11.3 (Incubation)
+
|3.4.1.201406201815-r
 +
|-
 +
|3.4.0.201406110918-r
 +
|-
 +
|3.3.2.201404171909-r
 +
|-
 +
|3.3.1.201403241930-r
 +
|-
 +
|3.3.0.201403021825-r
 +
|-
 +
|3.2.0.201312181205-r
 +
|-
 +
|3.1.0.201310021548-r
 +
|-
 +
|3.0.3.201309161630-r
 +
|-
 +
|3.0.0.201306101825-r
 +
|-
 +
|2.3.1.201302201838-r
 +
|-
 +
|2.2.0.201212191850-r
 +
|-
 +
|2.1.0.201209190230-r
 +
|-
 +
|2.0.0.201206130900-r
 +
|-
 +
|1.3.0.201202151440-r
 +
|-
 +
|1.2.0.201112221803-r
 +
|-
 +
|1.1.0.201109151100-r
 +
|-
 +
|1.0.0.201106090707-r
 +
|-
 +
|0.12.1 (Incubation)
 
|-
 
|-
 
|0.10.1 (Incubation)
 
|0.10.1 (Incubation)

Revision as of 02:09, 15 October 2014

How to inspect the git index

To see what's stored in the git index

$ git ls-files -v -s]
<file type> <mode> <object>                       <stage> <file>)
H 100644 dc701694e405702940dc97caada20a3e5d64bbba 0     .eclipse_iplog
H 100644 f57840b7eec86b91b135afc40f20d950c5d86988 0     .gitattributes
H 100644 1b85c64665f461a1ac948345c5f8034b751eda93 0     LICENSE
...
  • The debug-show-dir-cache command provided by jgit.sh (get it from JGit download page) provides some more details
$ java -jar jgit-cli.jar --git-dir /c/git/jgit/.git debug-show-dircache
<mode><length>   <timestamp>         <object>                                      <file>
100644    871 20100706,131532.000    dc701694e405702940dc97caada20a3e5d64bbba      .eclipse_iplog
100644     17 20100219,165448.000    f57840b7eec86b91b135afc40f20d950c5d86988      .gitattributes
100644   1716 20100706,131532.000    1b85c64665f461a1ac948345c5f8034b751eda93      LICENSE
...

Where can I find older releases of JGit?

It's recommended to use the latest released version of JGit, find it's p2 repository here http://download.eclipse.org/egit/updates. Find the list of older p2 repositories here

JGit versions up to 2.3.1

JGit versions since 3.0.0

JGit on Maven Central

  • Since 1.2 the JGit libraries are also published on Maven central.


JGit Releases

Find more information about JGit releases in the project portal

Release Version
3.5.1.201410131835-r
3.5.0.201409260305-r
3.4.1.201406201815-r
3.4.0.201406110918-r
3.3.2.201404171909-r
3.3.1.201403241930-r
3.3.0.201403021825-r
3.2.0.201312181205-r
3.1.0.201310021548-r
3.0.3.201309161630-r
3.0.0.201306101825-r
2.3.1.201302201838-r
2.2.0.201212191850-r
2.1.0.201209190230-r
2.0.0.201206130900-r
1.3.0.201202151440-r
1.2.0.201112221803-r
1.1.0.201109151100-r
1.0.0.201106090707-r
0.12.1 (Incubation)
0.10.1 (Incubation)
0.9.3 (Incubation)
0.8.4 (Incubation)
0.7.1 (Incubation)

Retention Policy

All released JGit versions available from the above mentioned p2 and Maven repository will be kept forever.

Copyright © Eclipse Foundation, Inc. All Rights Reserved.