Does anyone have a favorite diff tool for reviewing lots of code? I’m thinking something along the lines like meld or vimdiff. I don’t really need a git client. I’m comfortable with the git CLI. I’m mainly interested in making code reviews a little easier to manage.

I’m reviewing a large code change right now and the web interface sucks. It’s slow. It doesn’t load all the files at once. Cross referencing files sucks.

I know, I know. “Code changes should be small.” I’ve already voiced that to my team, yet here we are. I’m trying to figure out a way to make this a little less miserable.

  • Gamma@beehaw.org
    link
    fedilink
    English
    arrow-up
    3
    ·
    10 days ago

    I just have a script that has a few commands with presets to see the differences I care about:

    Short diff: git diff -w --ignore-blank-lines --color-words='\w+|.'
    Slightly longer diff: git diff -w --ignore-blank-lines