4 ms·
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 o
by Too 5y ago
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.
- shakna 5y ago> 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>`.
- Too 5y agoThat 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.
- junkblocker 5y agoI wrote https://github.com/junkblocker/patchreview-vim https://github.com/junkblocker/patchreview-vim for exactly that workflow.