Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 4e092a6f8dd009f5b3478de0de50679ded3a923a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
<?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">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
		<title>JGit 4.0 New and Noteworthy</title>
		<link type="text/css" rel="stylesheet" href="../../../book.css"/>
	</head>
	<body>
		<table class="navigation" style="width: 100%;" border="0" summary="navigation">
			<tr>
				<th style="width: 100%" align="center" colspan="3">JGit 4.0 New and Noteworthy</th>
			</tr>
			<tr>
				<td style="width: 20%" align="left"></td>
				<td style="width: 60%" align="center"></td>
				<td style="width: 20%" align="right">
					<a href="Bug-Fixes.html" title="Bug Fixes">
						<img alt="Next" border="0" src="../../../images/next.gif"/>
					</a>
				</td>
			</tr>
			<tr>
				<td style="width: 20%" align="left" valign="top"></td>
				<td style="width: 60%" align="center"></td>
				<td style="width: 20%" align="right" valign="top">Bug Fixes</td>
			</tr>
		</table><hr/>
		<h1 id="JGit">JGit</h1>
		<h2 id="Update_to_Java_7">Update to Java 7</h2>
		<ul>
			<li>Update minimum required Java version from Java 5 to Java 7</li>
			<li>Remove bundles org.eclipse.jgit.console and org.eclipse.jgit.java7 which are no longer needed due to update to Java 7</li>
			<li>Implement AutoClosable and use it to ensure resource held by JGit get released when they are no longer needed</li>
		</ul>
		<h2 id="API_cleanup">API cleanup</h2>
		<ul>
			<li>Replace release() methods by close() to support AutoClosable</li>
			<li>Delete some deprecated classes and methods, details are available in Clirr API change report</li>
			<li>ObjectReader: remove the walkAdvice API</li>
		</ul>
		<h2 id="Configuration">Configuration</h2>
		<ul>
			<li>Remove the gitprefix logic and rework detecting Git system config file</li>
			<li>Allow to manually set the path to the Git system config file</li>
			<li>Add fsck.allowInvalidPersonIdent to accept invalid author/committers</li>
		</ul>
		<h2 id="Protocol">Protocol</h2>
		<ul>
			<li>Add support for quiet capability to ReceivePack</li>
			<li>Support agent= capability in wire protocol</li>
		</ul>
		<h2 id="Hooks">Hooks</h2>
		<ul>
			<li>Support for the commit-msg hook</li>
		</ul>
		<h2 id="Misc._Enhancements">Misc. Enhancements</h2>
		<ul>
			<li>Allow ObjectWalk to be filtered by an arbitrary predicate</li>
			<li>Use ANY_DIFF filter in ResolveMerger for bare repositories</li>
			<li>ObjectWalk: make setRetainBody(false) the default</li>
			<li>Make MyersDiff interruptible</li>
			<li>Support --untracked-files in command line status command</li>
			<li>Support "--long" option in DescribeCommand and command line describe command</li>
			<li>Make s3 domain dynamic to support different s3 regions in AmazonS3 transport</li>
			<li>Allow public access to PackIndex</li>
			<li>Enhance ArchiveCommand to allow passing options to underlying stream</li>
		</ul>
		<h2 id="Introduce_logging">Introduce logging</h2>
		<ul>
			<li>Use slf4j API to enable logging in JGit</li>
			<li>Use log4j-slf4j to log from org.eclipse.jgit.pgm</li>
		</ul>
		<h2 id="Performance_Improvements">Performance Improvements</h2>
		<ul>
			<li>Optimize EolAwareOutputStream for bulk output</li>
			<li>Buffer TemporaryBuffer's overflow output stream used by ResolveMerger to improve performance</li>
			<li>RevWalk: Discard uninteresting commits unless RevSort.BOUNDARY</li>
		</ul>
		<h2 id="Build_and_release_engineering">Build and release engineering</h2>
		<ul>
			<li>Update build to use eclipse-jarsigner-plugin 1.1.2</li>
			<li>Update build to use Tycho 0.23.0</li>
			<li>Update all standard maven plugins to latest versions</li>
			<li>Update to Jetty 9.2.10</li>
			<li>Update to javax.servlet 3.1</li>
			<li>Added more reports to Maven site</li>
		</ul><hr/>
		<table class="navigation" style="width: 100%;" border="0" summary="navigation">
			<tr>
				<td style="width: 20%" align="left"></td>
				<td style="width: 60%" align="center"></td>
				<td style="width: 20%" align="right">
					<a href="Bug-Fixes.html" title="Bug Fixes">
						<img alt="Next" border="0" src="../../../images/next.gif"/>
					</a>
				</td>
			</tr>
			<tr>
				<td style="width: 20%" align="left" valign="top"></td>
				<td style="width: 60%" align="center"></td>
				<td style="width: 20%" align="right" valign="top">Bug Fixes</td>
			</tr>
		</table>
	</body>
</html>

Back to the top