git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] userdiff: add support for Emacs Lisp

From
Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Date
Feb 16, 2021, 11:13 UTC
Message-ID
<87v9as9seu.fsf@evledraar.gmail.com>
In-Reply-To
<87lfbo5sg8.fsf@protesilaos.com>
On Tue, Feb 16 2021, Protesilaos Stavrou wrote:
Show 31 quoted lines
> On 2021-02-14, 19:25 +0100, Ævar Arnfjörð Bjarmason <avarab@gmail.com> wrote:
>
>> On Sun, Feb 14 2021, Johannes Sixt wrote:
>>
>>> Am 14.02.21 um 02:41 schrieb Ævar Arnfjörð Bjarmason:
>>>> Just a cursory "git log -p -- lisp" in emacs.git with your patch shows
>>>> e.g. lisp/thingatpt.el where forms in a "defun" aren't indented (before
>>>> it selects the "defun", after with yours it's a "put" in the middle of
>>>> the function).
>>>
>>> Note that negative matches can be specified. We use the feature in the
>>> cpp case to exclude public:/protected:/private: and label: that happen 
>>> to be not indented. Perhaps that can be useful here?
>>>
>>> Oh, and BTW, what the patterns treat as "function" must not match what
>>> the language treats as function. The purpose of the hunk header is to 
>>> spot a place in the source file easily. So, it does not hurt if
>>> eval-and-compile forms are captured (as was mentioned in the linked 
>>> thread) if desired.
>>
>> Right, so having lots of test-case is helpful, e.g. for elisp maybe you
>> have a top-level defun, maybe not, maybe the top-level is a "(progn" so
>> you'd like a second-level more meaningful context, or maybe not...
>>
>> Obviously these userdiff patterns aren't a general parser and will
>> always be hit-and-miss, it's just useful to at least eyeball them
>> against in-the-wild test data to check their sanity & add some tests.
>
> Our intent with this patch is to rely on a heuristic that works for most
> cases.  There will always be some case that is not covered.  This point
> was made explicit in the relevant emacs-devel thread.

Yes these heuristics will always be bad in some cases. I'm just encouraging you to find some of the more common cases, make test-cases out of them, to say "this is what I want".

The most common difference I've seen is that by finding comments it
means for changes like this:
    
    (def foo ()
         "..."
         (some-code)
    ;; comments inside functions are often not indented
       (blah))
    
    (def bar ()
         "..."
         CHANGE_ME)

Before we'd find "foo" as the context, now we find ";; comments inside functions are often not indented".

There's other cases where that comment rule does the right thing. E.g. finding the description of the file at the top, but we could also capture that with:

    ^(;;; [^.]+\.el ---.*)'
Then you'd get things like:
    ;;; button.el --- clickable buttons

Without overmatching any and all comments. Or maybe it isn't overmatching and is better in the common case. I don't know.

Another example is now we'll match "(progn", sometimes that's "right", sometimes "wrong". Perhaps even in cases where that's "right" the common "(progn" pattern doesn't provide much/any extra information, and we'd be better to skip past it with a negative rule to the next "(def" ?

I'm typing this in mu4e, but I wouldn't call myself deeply familiar with Elisp. My reading of the linked thread / blog posts it links to is that some other people came up with more narrow matching rules, presumably because they found some of these cases.

So all I'm suggesting is maybe pro-actively find those cases & loop those people in.

Show 21 quoted lines
>> My cursory glance at the emacs.git version v.s. what's being submitted
>> here is that this one does a worse job in *very common* cases.
>>
>>>> Yours also changes it from e.g.:
>>>>      @@ -61,7 +61,7 @@ forward-thing
>>>> to:
>>>>      @@ -61,7 +61,7 @@ (defun forward-thing (thing &optional n)
>>>> Is this really desired in elisp?
>
> I think this is a matter of perspective and indeed a valid reason for
> doing this in emacs.git first.
>
> For my part, I find the verbose style more informative, especially when
> it captures the previous form instead of the one directly around the
> diffed lines.
>
> Perhaps one could add to that Emacs' ability to use the same name for
> different things, e.g. a function and a variable, where verbosity of
> this sort can help with disambiguation.  Granted, we should not really
> on such a heading style to aid us in that task, though it may be
> something to consider.

I'm not saying it needs to be done in emacs.git first, just maybe coordinate with people who wrote/use that rule.

I think matching the whole line makes sense (sans leading whitespace), we do it for the rest of the git.git rules.

Show 27 quoted lines
>>> It's common practice to extract the entire line (sans indentation if
>>> applicable), not just the function name. Why would somebody want the 
>>> latter? It doesn't carry as much information as could be possible.
>>
>> Because I'm familiar with the codebase I'm editing and I just need to
>> know that the diff I'm viewing is on the "main" function, not that it's
>> "main()", "int main(int argv, char **argv)", "int main(const int argv,
>> const char *argv[])", or to either have a " {" or not at the end
>> depending on the project's coding style.
>
> Oftentimes we produce/read patches for projects that we are not
> necessarily acquainted with.  This includes emacs.git and the multitude
> of Elisp packages in that milieu.  An extra element of contextuality can
> do us good.
>
> It is true that familiarity with the code base will always benefit from
> succinct headings, though I feel that whenever we are in doubt we should
> err on the side of caution: which means that we must not introduce such
> an assumption to the workings of this piece of functionality.
>
>> I know our own userdiff builtin patterns don't do this, but it would be
>> very useful to retrofit this capability / maybe make it a configurable
>> feature, i.e. have them capture the meaningful part of the line, and you
>> could either print it all, or just that part.
>
> It would be nice to have an option that toggles verbosity.  Though I
> guess this lies outside the scope of the patch in question.

Yes I agree that this is completely outside the scope of adding elisp support to userdiff.

I was just replying generally to Johaness on the topic of why someone would want a pattern to match $1 over $0, as most of our git.git patterns do (or if it's $1, it's the whole line anyway, sans leading whitespace).

> In conclusion, I think we should decide on the next step forward: if you
> think this should be applied to emacs.git before making its way to git
> itself, then we can move the discussion there.

I think just applying a version to this to git.git is fine, and it should not wait for whatever 20-some patches test mechanism rewrite I started. I can rebase on top of this.

B.t.w. emacs.git also has a rule for *.texi, perhaps you'd be interested in hacking that up too? :)

Previous: Protesilaos Stavrou
Message 192 of 192 in “userdiff: add support for Emacs Lisp”
  1. userdiff: add support for Emacs LispAdam Spiers, Feb 13, 2021
  2. Ævar Arnfjörð BjarmasonFeb 14, 2021
  3. Johannes SixtFeb 14, 2021
  4. Johannes SixtFeb 14, 2021
  5. Ævar Arnfjörð BjarmasonFeb 14, 2021
  6. 01/20 userdiff: refactor away the parse_bool() functionÆvar Arnfjörð Bjarmason, Feb 15, 2021
  7. 03/20 userdiff: add and use for_each_userdiff_driver()Ævar Arnfjörð Bjarmason, Feb 15, 2021
  8. 02/20 userdiff: re-order builtin drivers in alphabetical orderÆvar Arnfjörð Bjarmason, Feb 15, 2021
  9. 00/20 userdiff: refactor + test + doc + misc improvementsÆvar Arnfjörð Bjarmason, Feb 15, 2021
  10. 02/27 userdiff style: re-order drivers in alphabetical orderÆvar Arnfjörð Bjarmason, Feb 15, 2021
  11. 01/27 userdiff: refactor away the parse_bool() functionÆvar Arnfjörð Bjarmason, Feb 15, 2021
  12. 00/27 userdiff: refactor + test + doc + misc improvementsÆvar Arnfjörð Bjarmason, Feb 15, 2021
  13. 0/2 diff: do not display hunk context under -WÆvar Arnfjörð Bjarmason, Feb 15, 2021
  14. 2/2 diff: test and document -W interaction with -U<n>Ævar Arnfjörð Bjarmason, Feb 15, 2021
  15. Johannes SixtFeb 16, 2021
  16. 1/2 diff: do not display hunk context under -WÆvar Arnfjörð Bjarmason, Feb 15, 2021
  17. René Scharfe.Feb 15, 2021
  18. Ævar Arnfjörð BjarmasonFeb 15, 2021
  19. René Scharfe.Feb 15, 2021
  20. Junio C HamanoFeb 16, 2021
  21. Junio C HamanoFeb 16, 2021
  22. Johannes SixtFeb 16, 2021
  23. Junio C HamanoFeb 16, 2021
  24. Eric SunshineFeb 15, 2021
  25. Johannes SixtFeb 15, 2021
  26. 00/35 20210215154427.32693-1-avarab@gmail.comÆvar Arnfjörð Bjarmason, Feb 24, 2021
  27. Johannes SixtFeb 27, 2021
  28. Johannes SixtFeb 28, 2021
  29. Ævar Arnfjörð BjarmasonFeb 28, 2021
  30. Johannes SixtMar 1, 2021
  31. 00/10 userdiff: refactor + test improvementsÆvar Arnfjörð Bjarmason, Mar 24, 2021
  32. 01/10 userdiff: refactor away the parse_bool() functionÆvar Arnfjörð Bjarmason, Mar 24, 2021
  33. Jeff KingMar 24, 2021
  34. 02/10 userdiff style: re-order drivers in alphabetical orderÆvar Arnfjörð Bjarmason, Mar 24, 2021
  35. 06/10 userdiff tests: explicitly test "default" patternÆvar Arnfjörð Bjarmason, Mar 24, 2021
  36. 04/10 userdiff style: normalize pascal regex declarationÆvar Arnfjörð Bjarmason, Mar 24, 2021
  37. 08/10 userdiff: remove support for "broken" testsÆvar Arnfjörð Bjarmason, Mar 24, 2021
  38. 05/10 userdiff: add and use for_each_userdiff_driver()Ævar Arnfjörð Bjarmason, Mar 24, 2021
  39. Junio C HamanoMar 24, 2021
  40. Jeff KingMar 24, 2021
  41. Junio C HamanoMar 24, 2021
  42. Jeff KingMar 24, 2021
  43. Ævar Arnfjörð BjarmasonMar 24, 2021
  44. Jeff KingMar 25, 2021
  45. Ævar Arnfjörð BjarmasonMar 25, 2021
  46. Jeff KingMar 26, 2021
  47. Ævar Arnfjörð BjarmasonApr 9, 2021
  48. Jeff KingApr 9, 2021
  49. Junio C HamanoApr 9, 2021
  50. Ævar Arnfjörð BjarmasonApr 10, 2021
  51. 03/10 userdiff style: declare patterns with consistent styleÆvar Arnfjörð Bjarmason, Mar 24, 2021
  52. 09/10 blame tests: don't rely on t/t4018/ directoryÆvar Arnfjörð Bjarmason, Mar 24, 2021
  53. 07/10 userdiff tests: list builtin drivers via test-toolÆvar Arnfjörð Bjarmason, Mar 24, 2021
  54. 10/10 blame tests: simplify userdiff driver testÆvar Arnfjörð Bjarmason, Mar 24, 2021
  55. Johannes SixtMar 24, 2021
  56. Junio C HamanoMar 24, 2021
  57. Jeff KingMar 24, 2021
  58. 0/9 userdiff: refactor + test improvementsÆvar Arnfjörð Bjarmason, Apr 8, 2021
  59. 1/9 userdiff style: re-order drivers in alphabetical orderÆvar Arnfjörð Bjarmason, Apr 8, 2021
  60. 2/9 userdiff style: declare patterns with consistent styleÆvar Arnfjörð Bjarmason, Apr 8, 2021
  61. 3/9 userdiff style: normalize pascal regex declarationÆvar Arnfjörð Bjarmason, Apr 8, 2021
  62. 4/9 userdiff: add and use for_each_userdiff_driver()Ævar Arnfjörð Bjarmason, Apr 8, 2021
  63. Junio C HamanoApr 8, 2021
  64. 6/9 userdiff tests: list builtin drivers via test-toolÆvar Arnfjörð Bjarmason, Apr 8, 2021
  65. 5/9 userdiff tests: explicitly test "default" patternÆvar Arnfjörð Bjarmason, Apr 8, 2021
  66. 7/9 userdiff: remove support for "broken" testsÆvar Arnfjörð Bjarmason, Apr 8, 2021
  67. 9/9 blame tests: simplify userdiff driver testÆvar Arnfjörð Bjarmason, Apr 8, 2021
  68. 8/9 blame tests: don't rely on t/t4018/ directoryÆvar Arnfjörð Bjarmason, Apr 8, 2021
  69. 01/35 userdiff: refactor away the parse_bool() functionÆvar Arnfjörð Bjarmason, Feb 24, 2021
  70. 02/35 userdiff style: re-order drivers in alphabetical orderÆvar Arnfjörð Bjarmason, Feb 24, 2021
  71. 03/35 userdiff style: declare patterns with consistent styleÆvar Arnfjörð Bjarmason, Feb 24, 2021
  72. 04/35 userdiff style: normalize pascal regex declarationÆvar Arnfjörð Bjarmason, Feb 24, 2021
  73. 05/35 userdiff: add and use for_each_userdiff_driver()Ævar Arnfjörð Bjarmason, Feb 24, 2021
  74. 06/35 userdiff tests: explicitly test "default" patternÆvar Arnfjörð Bjarmason, Feb 24, 2021
  75. 07/35 userdiff tests: list builtin drivers via test-toolÆvar Arnfjörð Bjarmason, Feb 24, 2021
  76. 08/35 userdiff: remove support for "broken" testsÆvar Arnfjörð Bjarmason, Feb 24, 2021
  77. 09/35 blame tests: don't rely on t/t4018/ directoryÆvar Arnfjörð Bjarmason, Feb 24, 2021
  78. 10/35 blame tests: simplify userdiff driver testÆvar Arnfjörð Bjarmason, Feb 24, 2021
  79. 12/35 userdiff tests: change setup loop to individual test setupÆvar Arnfjörð Bjarmason, Feb 24, 2021
  80. Junio C HamanoFeb 25, 2021
  81. Johannes SixtFeb 25, 2021
  82. Junio C HamanoFeb 25, 2021
  83. 15/35 userdiff tests: add a test with multiple tests in a LANG fileÆvar Arnfjörð Bjarmason, Feb 24, 2021
  84. 11/35 userdiff tests: match full hunk headersÆvar Arnfjörð Bjarmason, Feb 24, 2021
  85. Junio C HamanoFeb 25, 2021
  86. 16/35 userdiff tests: do config teardown in test_diff_funcname()Ævar Arnfjörð Bjarmason, Feb 24, 2021
  87. 19/35 userdiff tests: do not do compile tests on "custom" patternÆvar Arnfjörð Bjarmason, Feb 24, 2021
  88. 21/35 userdiff tests + docs: document & test "diff.<driver>.x?funcname"Ævar Arnfjörð Bjarmason, Feb 24, 2021
  89. 25/35 gitattributes doc: document multi-line userdiff patternsÆvar Arnfjörð Bjarmason, Feb 24, 2021
  90. 23/35 userdiff tests: move perl tests to perl.shÆvar Arnfjörð Bjarmason, Feb 24, 2021
  91. 27/35 userdiff tests: remove "funcname" from custom3 testÆvar Arnfjörð Bjarmason, Feb 24, 2021
  92. 13/35 userdiff tests: factor out test_diff_funcname() logicÆvar Arnfjörð Bjarmason, Feb 24, 2021
  93. Junio C HamanoFeb 25, 2021
  94. 14/35 userdiff tests: add alternative hunk header test infrastructureÆvar Arnfjörð Bjarmason, Feb 24, 2021
  95. Johannes SixtFeb 28, 2021
  96. 29/35 userdiff tests: test for a bug in 1dbf0c0ad6cÆvar Arnfjörð Bjarmason, Feb 24, 2021
  97. 17/35 userdiff tests: move custom patterns into one test fileÆvar Arnfjörð Bjarmason, Feb 24, 2021
  98. 18/35 userdiff tests: remove hack for "RIGHT" tokenÆvar Arnfjörð Bjarmason, Feb 24, 2021
  99. 22/35 gitattributes doc: reword discussion of built-in userdiff patternsÆvar Arnfjörð Bjarmason, Feb 24, 2021
  100. 20/35 userdiff tests: assert that new built-in drivers have testsÆvar Arnfjörð Bjarmason, Feb 24, 2021
  101. Johannes SixtFeb 28, 2021
  102. Ævar Arnfjörð BjarmasonFeb 28, 2021
  103. 26/35 userdiff tests: switch to -U0 by defaultÆvar Arnfjörð Bjarmason, Feb 24, 2021
  104. 24/35 userdiff tests: move away from "RIGHT" in perl.shÆvar Arnfjörð Bjarmason, Feb 24, 2021
  105. 28/35 userdiff tests: assert empty hunk header context on -U<large>Ævar Arnfjörð Bjarmason, Feb 24, 2021
  106. 31/35 userdiff golang: don't over-match intented constructsÆvar Arnfjörð Bjarmason, Feb 24, 2021
  107. Johannes SixtFeb 26, 2021
  108. 33/35 userdiff golang: match multi-line "const" and "import"Ævar Arnfjörð Bjarmason, Feb 24, 2021
  109. 34/35 userdiff tests: add basic test for adaÆvar Arnfjörð Bjarmason, Feb 24, 2021
  110. Johannes SixtFeb 27, 2021
  111. 32/35 userdiff golang: add a rule to match "package"Ævar Arnfjörð Bjarmason, Feb 24, 2021
  112. Johannes SixtFeb 26, 2021
  113. 35/35 userdiff tests: add basic test for rubyÆvar Arnfjörð Bjarmason, Feb 24, 2021
  114. Johannes SixtFeb 27, 2021
  115. 30/35 userdiff golang: simplify and correct matching regexÆvar Arnfjörð Bjarmason, Feb 24, 2021
  116. 11/27 blame tests: simplify userdiff driver testÆvar Arnfjörð Bjarmason, Feb 15, 2021
  117. Johannes SixtFeb 15, 2021
  118. Ævar Arnfjörð BjarmasonFeb 17, 2021
  119. Junio C HamanoFeb 17, 2021
  120. Johannes SixtFeb 17, 2021
  121. 10/27 blame tests: don't rely on t/t4018/ directoryÆvar Arnfjörð Bjarmason, Feb 15, 2021
  122. Junio C HamanoFeb 16, 2021
  123. 07/27 userdiff tests: list builtin drivers via test-toolÆvar Arnfjörð Bjarmason, Feb 15, 2021
  124. 04/27 userdiff style: normalize pascal regex declarationÆvar Arnfjörð Bjarmason, Feb 15, 2021
  125. 05/27 userdiff: add and use for_each_userdiff_driver()Ævar Arnfjörð Bjarmason, Feb 15, 2021
  126. 03/27 userdiff style: declare patterns with consistent styleÆvar Arnfjörð Bjarmason, Feb 15, 2021
  127. 13/27 userdiff tests: do config teardown in test_diff_funcname()Ævar Arnfjörð Bjarmason, Feb 15, 2021
  128. 09/27 userdiff tests: match full hunk headersÆvar Arnfjörð Bjarmason, Feb 15, 2021
  129. Johannes SixtFeb 15, 2021
  130. Ævar Arnfjörð BjarmasonFeb 15, 2021
  131. Junio C HamanoFeb 16, 2021
  132. Junio C HamanoFeb 17, 2021
  133. Ævar Arnfjörð BjarmasonFeb 17, 2021
  134. Johannes SixtFeb 16, 2021
  135. Ævar Arnfjörð BjarmasonFeb 17, 2021
  136. Junio C HamanoFeb 17, 2021
  137. Ævar Arnfjörð BjarmasonFeb 23, 2021
  138. Johannes SixtFeb 23, 2021
  139. Ævar Arnfjörð BjarmasonFeb 24, 2021
  140. Johannes SixtFeb 24, 2021
  141. 08/27 userdiff: remove support for "broken" testsÆvar Arnfjörð Bjarmason, Feb 15, 2021
  142. 06/27 userdiff tests: explicitly test "default" patternÆvar Arnfjörð Bjarmason, Feb 15, 2021
  143. 14/27 userdiff tests: move custom patterns into one test fileÆvar Arnfjörð Bjarmason, Feb 15, 2021
  144. 25/27 userdiff: match "package" in diff=golangÆvar Arnfjörð Bjarmason, Feb 15, 2021
  145. 24/27 userdiff tests: assert empty hunk header context on -U<large>Ævar Arnfjörð Bjarmason, Feb 15, 2021
  146. 23/27 userdiff tests: test hunk header selection with -U0Ævar Arnfjörð Bjarmason, Feb 15, 2021
  147. Johannes SixtFeb 15, 2021
  148. 26/27 userdiff tests: add basic test for adaÆvar Arnfjörð Bjarmason, Feb 15, 2021
  149. 27/27 userdiff tests: add basic test for rubyÆvar Arnfjörð Bjarmason, Feb 15, 2021
  150. 18/27 gitattributes doc: reword discussion of built-in userdiff patternsÆvar Arnfjörð Bjarmason, Feb 15, 2021
  151. Junio C HamanoFeb 16, 2021
  152. 16/27 userdiff tests: do not do compile tests on "custom" patternÆvar Arnfjörð Bjarmason, Feb 15, 2021
  153. 20/27 userdiff tests: remove "funcname" from custom3 testÆvar Arnfjörð Bjarmason, Feb 15, 2021
  154. 12/27 userdiff tests: rewrite hunk header test infrastructureÆvar Arnfjörð Bjarmason, Feb 15, 2021
  155. Johannes SixtFeb 15, 2021
  156. Ævar Arnfjörð BjarmasonFeb 15, 2021
  157. Johannes SixtFeb 15, 2021
  158. Junio C HamanoFeb 16, 2021
  159. 19/27 gitattributes doc: document multi-line userdiff patternsÆvar Arnfjörð Bjarmason, Feb 15, 2021
  160. Johannes SixtFeb 15, 2021
  161. Ævar Arnfjörð BjarmasonFeb 15, 2021
  162. Junio C HamanoFeb 17, 2021
  163. 15/27 userdiff tests: remove hack for "RIGHT" tokenÆvar Arnfjörð Bjarmason, Feb 15, 2021
  164. 17/27 userdiff tests + docs: document & test "diff.<driver>.x?funcname"Ævar Arnfjörð Bjarmason, Feb 15, 2021
  165. 21/27 userdiff tests: factor out test_diff_funcname() logicÆvar Arnfjörð Bjarmason, Feb 15, 2021
  166. 22/27 userdiff tests: test hunk headers on accumulated filesÆvar Arnfjörð Bjarmason, Feb 15, 2021
  167. Johannes SixtFeb 15, 2021
  168. 04/20 userdiff tests: explicitly test "default" patternÆvar Arnfjörð Bjarmason, Feb 15, 2021
  169. 05/20 userdiff tests: list builtin drivers via test-toolÆvar Arnfjörð Bjarmason, Feb 15, 2021
  170. Eric SunshineFeb 15, 2021
  171. 06/20 userdiff: remove support for "broken" testsÆvar Arnfjörð Bjarmason, Feb 15, 2021
  172. 09/20 blame tests: don't rely on t/t4018/ directoryÆvar Arnfjörð Bjarmason, Feb 15, 2021
  173. 10/20 userdiff tests: move custom patterns into one test fileÆvar Arnfjörð Bjarmason, Feb 15, 2021
  174. 07/20 userdiff tests: match full hunk headersÆvar Arnfjörð Bjarmason, Feb 15, 2021
  175. Eric SunshineFeb 15, 2021
  176. 11/20 userdiff tests: remove hack for "RIGHT" tokenÆvar Arnfjörð Bjarmason, Feb 15, 2021
  177. 08/20 userdiff tests: rewrite hunk header test infrastructureÆvar Arnfjörð Bjarmason, Feb 15, 2021
  178. 12/20 userdiff: match "package" in diff=golangÆvar Arnfjörð Bjarmason, Feb 15, 2021
  179. 13/20 userdiff tests + docs: document & test "diff.<driver>.x?funcname"Ævar Arnfjörð Bjarmason, Feb 15, 2021
  180. Eric SunshineFeb 15, 2021
  181. 14/20 gitattributes doc: reword discussion of built-in userdiff patternsÆvar Arnfjörð Bjarmason, Feb 15, 2021
  182. Eric SunshineFeb 15, 2021
  183. 17/20 userdiff tests: factor out test_diff_funcname() logicÆvar Arnfjörð Bjarmason, Feb 15, 2021
  184. 15/20 gitattributes doc: document multi-line userdiff patternsÆvar Arnfjörð Bjarmason, Feb 15, 2021
  185. Chris TorekFeb 15, 2021
  186. Eric SunshineFeb 15, 2021
  187. 19/20 userdiff tests: test hunk header selection with -U0Ævar Arnfjörð Bjarmason, Feb 15, 2021
  188. 16/20 userdiff tests: remove "funcname" from custom3 testÆvar Arnfjörð Bjarmason, Feb 15, 2021
  189. 18/20 userdiff tests: test hunk headers on accumulated filesÆvar Arnfjörð Bjarmason, Feb 15, 2021
  190. 20/20 userdiff tests: assert empty hunk header context on -U<large>Ævar Arnfjörð Bjarmason, Feb 15, 2021
  191. Protesilaos StavrouFeb 16, 2021
  192. Ævar Arnfjörð BjarmasonFeb 16, 2021

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.