<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/t/t4018/java-class-member-function, branch gitk-resize-error</title>
<subtitle>Fork of git SCM with my patches.</subtitle>
<id>http://git.kilabit.info/git/atom?h=gitk-resize-error</id>
<link rel='self' href='http://git.kilabit.info/git/atom?h=gitk-resize-error'/>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/'/>
<updated>2021-08-11T18:11:30Z</updated>
<entry>
<title>userdiff: improve java hunk header regex</title>
<updated>2021-08-11T18:11:30Z</updated>
<author>
<name>Tassilo Horn</name>
<email>tsdh@gnu.org</email>
</author>
<published>2021-08-11T17:51:04Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=a8cbc895893f4c244e54374d3bf937819fb6e2e9'/>
<id>urn:sha1:a8cbc895893f4c244e54374d3bf937819fb6e2e9</id>
<content type='text'>
Currently, the git diff hunk headers show the wrong method signature if the
method has a qualified return type, an array return type, or a generic return
type because the regex doesn't allow dots (.), [], or &lt; and &gt; in the return
type.  Also, type parameter declarations couldn't be matched.

Add several t4018 tests asserting the right hunk headers for different cases:

  - enum constant change
  - change in generic method with bounded type parameters
  - change in generic method with wildcard
  - field change in a nested class

Signed-off-by: Tassilo Horn &lt;tsdh@gnu.org&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>t4018: convert java pattern test to the new infrastructure</title>
<updated>2014-03-21T22:02:36Z</updated>
<author>
<name>Johannes Sixt</name>
<email>j6t@kdbg.org</email>
</author>
<published>2014-03-21T21:07:17Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=dd4dc5c574c0849fef6855d9efdfae5dc9369f2d'/>
<id>urn:sha1:dd4dc5c574c0849fef6855d9efdfae5dc9369f2d</id>
<content type='text'>
Signed-off-by: Johannes Sixt &lt;j6t@kdbg.org&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
</feed>
