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">
4 <meta http-equiv=
"Content-Type" content=
"text/html; charset=utf-8"/>
5 <title>JGit
4.9 New and Noteworthy - Bug Fixes
</title>
6 <link type=
"text/css" rel=
"stylesheet" href=
"../../../book.css"/>
9 <table class=
"navigation" style=
"width: 100%;" border=
"0" summary=
"navigation">
11 <th style=
"width: 100%" align=
"center" colspan=
"3">Bug Fixes
</th>
14 <td style=
"width: 20%" align=
"left">
15 <a href=
"4.9.html" title=
"JGit 4.9 New and Noteworthy">
16 <img alt=
"Previous" border=
"0" src=
"../../../images/prev.gif"/>
19 <td style=
"width: 60%" align=
"center"></td>
20 <td style=
"width: 20%" align=
"right">
21 <a href=
"Contributors.html" title=
"Contributors">
22 <img alt=
"Next" border=
"0" src=
"../../../images/next.gif"/>
27 <td style=
"width: 20%" align=
"left" valign=
"top">JGit
4.9 New and Noteworthy
</td>
28 <td style=
"width: 60%" align=
"center"></td>
29 <td style=
"width: 20%" align=
"right" valign=
"top">Contributors
</td>
31 </table><hr class=
"navigation-separator"/>
32 <h1 id=
"Bug_Fixes">Bug Fixes
</h1>
34 <a href=
"https://bugs.eclipse.org/bugs/buglist.cgi?classification=Technology&list_id=10006180&order=Importance&product=JGit&query_format=advanced&resolution=FIXED&resolution=DUPLICATE&target_milestone=4.9" target=
"egit_external"> 2 enhancement requests and
23 bugs
</a> were closed
38 <a href=
"https://bugs.eclipse.org/bugs/show_bug.cgi?id=521296" target=
"egit_external">bug
521296</a> - Fix missing RefsChangedEvent when packed refs are used
41 <a href=
"https://bugs.eclipse.org/bugs/show_bug.cgi?id=376369" target=
"egit_external">bug
376369</a> - Fix Daemon.stop() to actually stop the listener thread
43 <li>Remove workaround for bug in Java's ReferenceQueue which was fixed in Java
8.
44 <b>Minimum Java version
8-b100:
</b> JGit
4.9 removes a
45 <a href=
"https://git.eclipse.org/r/#/c/104245/" target=
"egit_external">workaround
</a> for a
46 <a href=
"http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6837858" target=
"egit_external">bug
</a> in ReferenceQueue of Sun's Java
5,
6,
7 implementation. This bug was fixed in
47 <a href=
"http://hg.openjdk.java.net/jdk8/jdk8/jdk/rev/858c75eb83b5" target=
"egit_external">JDK
8-b100
</a> hence this is the minimum supported Java version for JGit
4.9.
50 <a href=
"https://bugs.eclipse.org/bugs/show_bug.cgi?id=508801" target=
"egit_external">bug
508801</a> - Don't assume name = path in .gitmodules
53 <a href=
"https://bugs.eclipse.org/bugs/show_bug.cgi?id=515325" target=
"egit_external">bug
515325</a> - FetchCommand: pass on CredentialsProvider to submodule fetches
56 <a href=
"https://bugs.eclipse.org/bugs/show_bug.cgi?id=520920" target=
"egit_external">bug
520920</a> - Exclude file matching: fix backtracking on match failures after
"**"
59 <a href=
"https://bugs.eclipse.org/bugs/show_bug.cgi?id=508568" target=
"egit_external">bug
508568</a> - Fix path pattern matching to work also for gitattributes
62 <a href=
"https://bugs.eclipse.org/bugs/show_bug.cgi?id=429625" target=
"egit_external">bug
429625</a> - Ignore invalid TagOpt values
65 <a href=
"https://bugs.eclipse.org/bugs/show_bug.cgi?id=519883" target=
"egit_external">bug
519883</a> - Fix default directory used to clone when setDirectory wasn't called
68 <a href=
"https://bugs.eclipse.org/bugs/show_bug.cgi?id=513043" target=
"egit_external">bug
513043</a> - Do authentication re-tries on HTTP POST
70 <li>Fix exception handling for opening bitmap index files
</li>
72 <a href=
"https://bugs.eclipse.org/bugs/show_bug.cgi?id=393170" target=
"egit_external">bug
393170</a> - Do not apply pushInsteadOf to existing pushUris
75 <a href=
"https://bugs.eclipse.org/bugs/show_bug.cgi?id=520702" target=
"egit_external">bug
520702</a> - Record submodule paths with untracked changes as FileMode.GITLINK
78 <a href=
"https://bugs.eclipse.org/bugs/show_bug.cgi?id=520910" target=
"egit_external">bug
520910</a> - Ensure EOL stream type is DIRECT when -text attribute is present. Otherwise fancy combinations of attributes (binary or -text in combination with crlf or eol) may result in the corruption of binary data.
81 <a href=
"https://bugs.eclipse.org/bugs/show_bug.cgi?id=520677" target=
"egit_external">bug
520677</a> - Use relative paths for attribute rule matching
83 <li>Treat RawText of binary data as file with one single line. This avoids executing mergeAlgorithm.merge on binary data, which is unlikely to be useful.
</li>
85 <a href=
"https://bugs.eclipse.org/bugs/show_bug.cgi?id=510685" target=
"egit_external">bug
510685</a> - Fix committing empty commits
88 <a href=
"https://bugs.eclipse.org/bugs/show_bug.cgi?id=519887" target=
"egit_external">bug
519887</a> - Fix JGit set core.fileMode to false by default instead of true for non Windows OS.
90 <li>Fix matching ignores and attributes pattern of form a/b/**.
</li>
91 <li>Fix deleting symrefs
</li>
93 <a href=
"https://bugs.eclipse.org/bugs/show_bug.cgi?id=518377" target=
"egit_external">bug
518377</a> - Fix bug in multiple tag handling on DescribeCommand
96 <a href=
"https://bugs.eclipse.org/bugs/show_bug.cgi?id=393170" target=
"egit_external">bug
393170</a> - pushInsteadOf configuration is ignored by EGit.
97 <b>Note:
</b> Up to now JGit mistakenly applied pushInsteadOf also to existing pushUris. If some repositories had relied on this mis-feature, pushes may newly suddenly fail (the uncritical case; the config just needs to be fixed) or even still succeed but push to unexpected places, namely to the non-rewritten pushUrls (the critical case).
99 </ul><hr class=
"navigation-separator"/>
100 <table class=
"navigation" style=
"width: 100%;" border=
"0" summary=
"navigation">
102 <td style=
"width: 20%" align=
"left">
103 <a href=
"4.9.html" title=
"JGit 4.9 New and Noteworthy">
104 <img alt=
"Previous" border=
"0" src=
"../../../images/prev.gif"/>
107 <td style=
"width: 60%" align=
"center">
108 <a href=
"4.9.html" title=
"JGit 4.9 New and Noteworthy">
109 <img alt=
"JGit 4.9 New and Noteworthy" border=
"0" src=
"../../../images/home.gif"/>
112 <td style=
"width: 20%" align=
"right">
113 <a href=
"Contributors.html" title=
"Contributors">
114 <img alt=
"Next" border=
"0" src=
"../../../images/next.gif"/>
119 <td style=
"width: 20%" align=
"left" valign=
"top">JGit
4.9 New and Noteworthy
</td>
120 <td style=
"width: 60%" align=
"center"></td>
121 <td style=
"width: 20%" align=
"right" valign=
"top">Contributors
</td>