4 comments

  • exceptione40 minutes ago
    <p><pre><code> &gt; Imagine a commit in a patch series changes 100 lines. 99 of the lines are good, but the first round of review suggests to add a missing semicolon on one of the lines. The author does that by amending the existing commit, to avoid an unseemly &quot;add missing semicolon&quot; commit ending up in the project history. After a force-push (or new patch series submission), reviewers are generally presented with the full 100-line diff to review, because the tools don&#x27;t understand that only one line changed since the last review. </code></pre> In the PR-workflow, why not add fixup! commits? I think that when the PR is approved, the PR owner should be free to rewrite the history in their PR.<p>Flirt looks interesting, but I am not sure if it would solve a real problem for me.
  • CurleighBraces1 hour ago
    If you haven&#x27;t read the first blog post it&#x27;s pretty good at explaining the concepts.<p><a href="https:&#x2F;&#x2F;blog.buenzli.dev&#x2F;announcing-development-on-flirt&#x2F;" rel="nofollow">https:&#x2F;&#x2F;blog.buenzli.dev&#x2F;announcing-development-on-flirt&#x2F;</a><p>The demo is particularly good if you can get past ( by the authors own admission ) slow typing speed.<p>As with everything these days I can see this being even more useful in reviewing agent code.<p>For example if an agent has spat out a bunch of code that I&#x27;ve reviewed and then I&#x27;ve asked it to make changes, I definitely do not want to review all that code again in the same diff later.
    • OJFord1 hour ago
      That&#x27;s a really good point, at the moment I struggle to get past wanting it to create small logical changes that I can commit individually. If I could review them better such as Flirt describes, then maybe I don&#x27;t care so much, and a big &#x27;create initial implementation&#x27; commit becomes more acceptable, for example.
  • N_Lens1 hour ago
    For those curious - Flirt is an incremental code review tool.
  • seism3 hours ago
    Excellent. Starting with the domain name :)