Update documentation for 4.9
[egit/eclipse.git] / org.eclipse.egit.doc / help / JGit / New_and_Noteworthy / 4.9 / 4.9.html
blobcc69fea6584afc5fd98c2bbc6a6ef34a12994b43
1 <?xml version='1.0' encoding='utf-8' ?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html xmlns="http://www.w3.org/1999/xhtml">
3 <head>
4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
5 <title>JGit 4.9 New and Noteworthy</title>
6 <link type="text/css" rel="stylesheet" href="../../../book.css"/>
7 </head>
8 <body>
9 <table class="navigation" style="width: 100%;" border="0" summary="navigation">
10 <tr>
11 <th style="width: 100%" align="center" colspan="3">JGit 4.9 New and Noteworthy</th>
12 </tr>
13 <tr>
14 <td style="width: 20%" align="left"></td>
15 <td style="width: 60%" align="center"></td>
16 <td style="width: 20%" align="right">
17 <a href="Bug-Fixes.html" title="Bug Fixes">
18 <img alt="Next" border="0" src="../../../images/next.gif"/>
19 </a>
20 </td>
21 </tr>
22 <tr>
23 <td style="width: 20%" align="left" valign="top"></td>
24 <td style="width: 60%" align="center"></td>
25 <td style="width: 20%" align="right" valign="top">Bug Fixes</td>
26 </tr>
27 </table><hr class="navigation-separator"/>
28 <h1 id="JGit">JGit</h1>
29 <h2 id="Features">Features</h2>
30 <ul>
31 <li>Implement atomic BatchRefUpdates for RefDirectory. The existing packed-refs file provides a mechanism for implementing atomic multi-ref updates without any changes to the on-disk format or lockfile protocol. We just need to make sure that there are no loose refs involved in the transaction, which we can achieve by packing the refs while holding locks on all loose refs. Full details of the algorithm are in the PackedBatchRefUpdate javadoc.</li>
32 <li>reftable: new ref storage format. Some repositories contain a lot of references (e.g. android at 866k, rails at 31k). The reftable format provides:
33 <ul>
34 <li>Near constant time lookup for any single reference, even when the repository is cold and not in process or kernel cache.</li>
35 <li>Near constant time verification a SHA-1 is referred to by at least one reference (for allow-tip-sha1-in-want).</li>
36 <li>Efficient lookup of an entire namespace, such as `refs/tags/`.</li>
37 <li>Support atomic push `O(size_of_update)` operations.</li>
38 <li>Combine reflog storage with ref storage.</li>
39 </ul>
40 </li>
41 <li>
42 <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=470318" target="egit_external">bug 470318</a> - Fetch submodule repo before resolving commits
43 </li>
44 <li>
45 <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=374703" target="egit_external">bug 374703</a> - Handle SSL handshake failures in TransportHttp, use CredentialsProvider to inform the user
46 </li>
47 <li>Support http.&lt;url&gt;.* configs</li>
48 <li>Add BlobObjectChecker</li>
49 <li>
50 <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=520978" target="egit_external">bug 520978</a> - Improve getting typed values from a Config to enable handling invalid configuration options
51 </li>
52 <li>
53 <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=496170" target="egit_external">bug 496170</a> - Support most %-token substitutions in OpenSshConfig
54 </li>
55 <li>
56 <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=490939" target="egit_external">bug 490939</a> - Let Jsch know about ~/.ssh/config. Ensure the Jsch instance used knows about ~/.ssh/config. This enables Jsch to honor more user configurations, in particular also the UserKnownHostsFile configuration, or additional identities given via multiple IdentityFile entries.
57 </li>
58 <li>
59 <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=465167" target="egit_external">bug 465167</a> - Add support to follow HTTP redirects
60 <ul>
61 <li>Implement config setting http.followRedirects</li>
62 <li>Number of redirects followed can be limited by http.maxRedirects (default 5)</li>
63 </ul>
64 </li>
65 <li>
66 <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=500106" target="egit_external">bug 500106</a> - Send a detailed event on working tree modifications to provide the foundations for better file change tracking
67 </li>
68 <li>Add dfs fsck implementation</li>
69 <li>
70 <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=517128" target="egit_external">bug 517128</a> - Support -merge attribute in binary macro. The merger is now able to react to the use of the merge attribute. The value unset and the custom value 'binary' are handled (-merge and merge=binary)
71 </li>
72 <li>
73 <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=518377" target="egit_external">bug 518377</a> - Support --match functionality in DescribeCommand
74 </li>
75 <li>
76 <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=517847" target="egit_external">bug 517847</a> - Allow to programmatically set FastForwardMode for PullCommand
77 </li>
78 <li>
79 <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=474174" target="egit_external">bug 474174</a> - Add support for config option "pull.ff"
80 </li>
81 <li>Add a new singlePack option to PackConfig. If set, "singlePack" will create a single GC pack file for all objects reachable from refs/*. If not set, the GC pack will contain object reachable from refs/heads/* and refs/tags/*, and the GC_REST pack will contain all other reachable objects.</li>
82 <li>fetch: Accept any SHA-1 on left hand side of refspec</li>
83 </ul>
84 <h2 id="JGit_Command_Line">JGit Command Line</h2>
85 <ul>
86 <li>Added API to TextBuiltin for piped usage.</li>
87 <li>
88 <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=518377" target="egit_external">bug 518377</a> - Add --match option for `jgit describe` to CLI
89 </li>
90 </ul>
91 <h2 id="Performance_Improvements">Performance Improvements</h2>
92 <ul>
93 <li>ReceivePack: clear advertised .haves if application changes refs to avoid over-advertising ".have" lines</li>
94 <li>Reftable: see above</li>
95 </ul>
96 <h2 id="Build_and_Release_Engineering">Build and Release Engineering</h2>
97 <ul>
98 <li>Upgrade Maven compiler plugins</li>
99 <li>Add org.apache.commons.codec 1.9.0 to target platform</li>
100 <li>Update args4j to 2.33 (CQ: 11068)</li>
101 <li>Update Oxygen Orbit p2 repository to R20170516192513</li>
102 <li>Replace findbugs by spotbugs</li>
103 </ul><hr class="navigation-separator"/>
104 <table class="navigation" style="width: 100%;" border="0" summary="navigation">
105 <tr>
106 <td style="width: 20%" align="left"></td>
107 <td style="width: 60%" align="center"></td>
108 <td style="width: 20%" align="right">
109 <a href="Bug-Fixes.html" title="Bug Fixes">
110 <img alt="Next" border="0" src="../../../images/next.gif"/>
111 </a>
112 </td>
113 </tr>
114 <tr>
115 <td style="width: 20%" align="left" valign="top"></td>
116 <td style="width: 60%" align="center"></td>
117 <td style="width: 20%" align="right" valign="top">Bug Fixes</td>
118 </tr>
119 </table>
120 </body>
121 </html>