ok/jj
1
0
Fork 0
forked from mirrors/jj
jj/cli
jyn 52f4fb1b27 don't try to diff binary files
previously, `jj diff` would show the full contents of binary files such as images.
after this change, it instead shows "(binary)". it still shows the filename and metadata so that
users can open the file in the viewer of their choce.

future work could involve showing binary files as Sixel or similar; finding a way to compare large
non-binary files without filling up the screen; or extending the data backends to avoid having to
read the whole file contents into memory.
2024-02-04 11:49:52 -08:00
..
examples backend: pass Index and keep_newer timestamp parameters to gc() 2024-01-27 10:18:11 +09:00
src don't try to diff binary files 2024-02-04 11:49:52 -08:00
testing fake_diff_editor: Allow specifying extra arguments to be ignored 2023-08-21 20:19:15 -07:00
tests don't try to diff binary files 2024-02-04 11:49:52 -08:00
build.rs
Cargo.toml cli: new jj util markdown-help outputs jj help for all commands 2024-01-30 14:58:32 -08:00
LICENSE cargo: add LICENSE file to each crate we publish 2023-09-22 21:48:28 -07:00