Dirq
Diff viewer · say “Dirk” /dɜːk/ · part of Qiew
Diffs and patches, side by side – like a diff tool.
Dirq shows a diff or patch file the way a diff tool would: old and new text next to each other, changed words marked, the files in a list and the patch's own data – subject, author, message – in a header.
- .diff
- .patch
What it does
- Side by side or unifiedSwitch in the toolbar; the choice is kept. Removed and added blocks line up row by row, changed words are marked inside the lines.
- A header for the patchSubject, author, date and commit, the message, trailers such as Co-Authored-By and the totals as numbers and a bar.
- Files at a glanceA list with status – modified, added, deleted, renamed – and +/− counts. Click to jump; files fold, very long ones start folded.
- Change by changeF7 and Shift+F7 jump to the next or previous change; ignore-whitespace shows blank-only changes as unchanged.
- The usual formatsgit diff, git format-patch, IntelliJ IDEA patches, Subversion and plain diff -u: renames, mode changes, binary files.
- ExportThe view as one HTML file for people who do not have a diff viewer.
Like every Qiew viewer
- Read-only by designA viewer never writes to the file it shows; an export goes to a file you name.
- Follows the fileWhen another program saves it, the view updates and keeps your place.
- Search that findsCtrl+F with match count in Marq, Xaq and Jayq; hits inside folded parts open up.
- Easy on the eyesFour colour schemes, light and dark, remembered; Trisq takes its colours from the component it shows.
Install
Get Dirq
With APT (Debian, Ubuntu, Linux Mint)
Once: add the be spex repository
curl -fsSLO https://bespex.github.io/packages/be-spex-archive-keyring.deb
sudo apt install ./be-spex-archive-keyring.deb && sudo apt update sudo apt install dirq