Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Nice trick with including all the changed files into the review alias. One thing that always bugged me about git difftool is it runs your configured diff.tool on each changed file one-by-one. When reviewing code you quite frequently have to toggle back and forth between files, which then becomes very tedious.


> One thing that always bugged me about git difftool is it runs your configured diff.tool on each changed file one-by-one. When reviewing code you quite frequently have to toggle back and forth between files, which then becomes very tedious.

You can specify which files with git difftool by adding `-- <paths>`.


That still prompts for every file in that list. Which can be skipped with the -y flag, but that's not enough either.

What i want is one tab per changed file in my difftool of choice so i can toggle between them with just one click, not having to open-close-open-close all the time.


I wrote https://github.com/junkblocker/patchreview-vim for exactly that workflow.




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: