<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/userdiff.c, branch v2.23.2</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v2.23.2</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v2.23.2'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2019-06-21T18:24:08Z</updated>
<entry>
<title>Merge branch 'ml/userdiff-rust'</title>
<updated>2019-06-21T18:24:08Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2019-06-21T18:24:08Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=a41dad4330c8291893b5c5b013457499855ec9b5'/>
<id>urn:sha1:a41dad4330c8291893b5c5b013457499855ec9b5</id>
<content type='text'>
The pattern "git diff/grep" use to extract funcname and words
boundary for Rust has been added.

* ml/userdiff-rust:
  userdiff: two simplifications of patterns for rust
  userdiff: add built-in pattern for rust
</content>
</entry>
<entry>
<title>userdiff: two simplifications of patterns for rust</title>
<updated>2019-05-30T16:53:26Z</updated>
<author>
<name>Johannes Sixt</name>
<email>j6t@kdbg.org</email>
</author>
<published>2019-05-30T16:44:35Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=33be7b38c23fbbaf75197f6150323e0d4c84bf12'/>
<id>urn:sha1:33be7b38c23fbbaf75197f6150323e0d4c84bf12</id>
<content type='text'>
- Do not enforce (but assume) syntactic correctness of language
  constructs that go into hunk headers: we only want to ensure that
  the keywords actually are words and not just the initial part of
  some identifier.

- In the word regex, match numbers only when they begin with a digit,
  but then be liberal in what follows, assuming that the text that is
  matched is syntactially correct.

Signed-off-by: Johannes Sixt &lt;j6t@kdbg.org&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>userdiff: fix grammar and style issues</title>
<updated>2019-05-29T16:50:31Z</updated>
<author>
<name>Boxuan Li</name>
<email>liboxuan@connect.hku.hk</email>
</author>
<published>2019-05-29T16:15:39Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=2731a7840a462a97b8afb5beadaf36c1db992ac7'/>
<id>urn:sha1:2731a7840a462a97b8afb5beadaf36c1db992ac7</id>
<content type='text'>
Signed-off-by: Boxuan Li &lt;liboxuan@connect.hku.hk&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>userdiff: add Octave</title>
<updated>2019-05-19T01:45:28Z</updated>
<author>
<name>Boxuan Li</name>
<email>liboxuan@connect.hku.hk</email>
</author>
<published>2019-05-18T03:46:23Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=91bf382fcf51af04f25ba22e1b70ac13cce4bd0b'/>
<id>urn:sha1:91bf382fcf51af04f25ba22e1b70ac13cce4bd0b</id>
<content type='text'>
Octave pattern is almost the same as matlab, except
that '%%%' and '##' can also be used to begin code sections,
in addition to '%%' that is understood by both. Octave
pattern is merged into Matlab pattern. Test cases for
the hunk header patterns of matlab and octave under
t/t4018 are added.

Signed-off-by: Boxuan Li &lt;liboxuan@connect.hku.hk&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>userdiff: add built-in pattern for rust</title>
<updated>2019-05-17T03:54:02Z</updated>
<author>
<name>Marc-André Lureau</name>
<email>mlureau@redhat.com</email>
</author>
<published>2019-05-16T23:58:15Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=d74e78602e3d562f5db64d553d4be21c201ef7b3'/>
<id>urn:sha1:d74e78602e3d562f5db64d553d4be21c201ef7b3</id>
<content type='text'>
This adds xfuncname and word_regex patterns for Rust, a quite
popular programming language. It also includes test cases for the
xfuncname regex (t4018) and updated documentation.

The word_regex pattern finds identifiers, integers, floats and
operators, according to the Rust Reference Book.

Cc: Johannes Sixt &lt;j6t@kdbg.org&gt;
Signed-off-by: Marc-André Lureau &lt;marcandre.lureau@redhat.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'nd/style-opening-brace'</title>
<updated>2019-01-18T21:49:52Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2019-01-18T21:49:52Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=3434569fc206c2f4bc434571d202f2961aa905e5'/>
<id>urn:sha1:3434569fc206c2f4bc434571d202f2961aa905e5</id>
<content type='text'>
Code clean-up.

* nd/style-opening-brace:
  style: the opening '{' of a function is in a separate line
</content>
</entry>
<entry>
<title>style: the opening '{' of a function is in a separate line</title>
<updated>2018-12-10T06:41:09Z</updated>
<author>
<name>Nguyễn Thái Ngọc Duy</name>
<email>pclouds@gmail.com</email>
</author>
<published>2018-12-09T10:25:21Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=3b3357626edc841a51d8885ddf6986bab5b6f778'/>
<id>urn:sha1:3b3357626edc841a51d8885ddf6986bab5b6f778</id>
<content type='text'>
Signed-off-by: Nguyễn Thái Ngọc Duy &lt;pclouds@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>notes-cache.c: remove the_repository references</title>
<updated>2018-11-12T05:50:06Z</updated>
<author>
<name>Nguyễn Thái Ngọc Duy</name>
<email>pclouds@gmail.com</email>
</author>
<published>2018-11-10T05:49:06Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=bd7ad45b64bf8b5a5256bd1eeb3907f8516244a8'/>
<id>urn:sha1:bd7ad45b64bf8b5a5256bd1eeb3907f8516244a8</id>
<content type='text'>
Signed-off-by: Nguyễn Thái Ngọc Duy &lt;pclouds@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'nd/the-index'</title>
<updated>2018-10-19T04:34:02Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2018-10-19T04:34:02Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=11877b9ebec87175a9cc55676311ef2d98585cca'/>
<id>urn:sha1:11877b9ebec87175a9cc55676311ef2d98585cca</id>
<content type='text'>
Various codepaths in the core-ish part learn to work on an
arbitrary in-core index structure, not necessarily the default
instance "the_index".

* nd/the-index: (23 commits)
  revision.c: reduce implicit dependency the_repository
  revision.c: remove implicit dependency on the_index
  ws.c: remove implicit dependency on the_index
  tree-diff.c: remove implicit dependency on the_index
  submodule.c: remove implicit dependency on the_index
  line-range.c: remove implicit dependency on the_index
  userdiff.c: remove implicit dependency on the_index
  rerere.c: remove implicit dependency on the_index
  sha1-file.c: remove implicit dependency on the_index
  patch-ids.c: remove implicit dependency on the_index
  merge.c: remove implicit dependency on the_index
  merge-blobs.c: remove implicit dependency on the_index
  ll-merge.c: remove implicit dependency on the_index
  diff-lib.c: remove implicit dependency on the_index
  read-cache.c: remove implicit dependency on the_index
  diff.c: remove implicit dependency on the_index
  grep.c: remove implicit dependency on the_index
  diff.c: remove the_index dependency in textconv() functions
  blame.c: rename "repo" argument to "r"
  combine-diff.c: remove implicit dependency on the_index
  ...
</content>
</entry>
<entry>
<title>userdiff.c: remove implicit dependency on the_index</title>
<updated>2018-09-21T16:50:58Z</updated>
<author>
<name>Nguyễn Thái Ngọc Duy</name>
<email>pclouds@gmail.com</email>
</author>
<published>2018-09-21T15:57:33Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=acd00ea04998ce469d1775c658134b097e18f5a3'/>
<id>urn:sha1:acd00ea04998ce469d1775c658134b097e18f5a3</id>
<content type='text'>
[jc: squashed in missing forward decl in userdiff.h found by Ramsay]

Helped-by: Ramsay Jones &lt;ramsay@ramsayjones.plus.com&gt;
Signed-off-by: Nguyễn Thái Ngọc Duy &lt;pclouds@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
</feed>
