Commit Graph
3 Commits
Author SHA1 Message Date
cloudhead b896a7fbeb cli: Support working copy files in diff
Previously we only syntax highlighted files that were blobs inside the
git repo. This doesn't work when diffing files in the working copy.

We solve that by looking for files in the working copy if they aren't
found in the ODB.
2023-09-27 15:26:57 +02:00
cloudhead bb40347121 term: Change signature of Constraint::from_env
Return `None` if there's no terminal.
2023-09-27 15:17:07 +02:00
cloudhead 90fe50c152 cli: Implement pretty diffs with highlighting
Implements a new kind of diff output that includes syntax highlighting.
This type of diff will be used for code review.
2023-09-27 12:37:41 +02:00