Wilfred Hughes
57bcd173a7
Fix a clippy warning on newer rust due to lint ordering
2025-11-15 02:24:47 +07:00
Wilfred Hughes
6f47e787ab
Format errors more consistently
2025-10-22 01:03:01 +07:00
Wilfred Hughes
a96ed2de96
Improve binary change descriptions
2025-10-22 00:49:42 +07:00
Wilfred Hughes
86e31458fc
Use colour to make errors more obvious
2025-10-20 00:47:53 +07:00
Wilfred Hughes
43274db8ca
Silence a clippy lint
2025-10-11 23:08:14 +07:00
Wilfred Hughes
f4a37c9732
Silence a build warning on newer clippy versions
2025-09-25 07:48:24 +07:00
Dmitry Marakasov
9f31286dc3
Do not use jemalloc on FreeBSD
...
FreeBSD uses jemalloc anyway, and tikv_jemallocator does not build.
2025-09-24 05:28:09 +07:00
Wilfred Hughes
a0ce7b1b78
Remove obsolete comment
2025-09-23 21:02:59 +07:00
Dan Cross
d6ab90d840
Do not use jemalloc on illumos
...
jemalloc does not work on illumos; it's use is
already conditional on environments that are not
msvc, so extend the conditionals involved to also
exclude illumos.
2025-09-16 21:05:13 +07:00
Wilfred Hughes
1ec5badfe0
Silence warning on older clippy versions
2025-08-29 22:53:54 +07:00
Wilfred Hughes
e596c52c53
Show file size before/after on binary files
2025-07-11 09:47:20 +07:00
Wilfred Hughes
6ad8bc99db
Fix clippy warning
2025-07-10 09:45:19 +07:00
Wilfred Hughes
62752b6ab6
Allow users to override binary detection using globs
...
Closes #841
2025-07-02 22:28:48 +07:00
Wilfred Hughes
a104d0ae90
Silence a clippy warning
2025-07-02 22:28:48 +07:00
Wilfred Hughes
7628f5f51c
Switch to jemalloc, at least for now
...
See discussions in #805 .
2025-06-13 00:54:08 +07:00
Wilfred Hughes
083efd06f6
Tweak file size formatting to one decimal place
...
Fixes #821
2025-04-08 08:54:48 +07:00
Wilfred Hughes
3a1e398edc
Improve handling of named pipe arguments
...
Use display_name in more places, and prefer file names with extensions
when we have two arguments.
Fixes #783
2024-11-15 23:11:25 +07:00
Wilfred Hughes
956b09a63e
Remove another mention of old flag name
2024-11-15 22:54:58 +07:00
Wilfred Hughes
13b8252d8b
Fix typo
2024-11-14 23:41:35 +07:00
Wilfred Hughes
d5b1e26d70
Add a debug helper for syntax tree as DOT
2024-11-14 22:55:00 +07:00
Wilfred Hughes
05378e4554
Silence a clippy lint
2024-10-23 08:51:13 +07:00
Wilfred Hughes
8cdb59fa5e
Normalise newlines before diffing
...
This produces good, consistent results on different trailing newlines
before, consistent with the behaviour before 7edd2a82cd (see #755 ).
2024-10-21 08:34:39 +07:00
Alexander Ilin
b021c079aa
Find and replace all instances of "the all the" with "all the"
2024-08-26 08:17:51 +07:00
Wilfred Hughes
5a51c02157
Fix crash when the last hunk includes the trailing newline at EOF
...
Input cleaning should happen before we diff the content, not during
display. Previously display would crash due to line numbers
referencing the line that had been stripped.
Fixes #713
Fixes #739
Fixes #742
2024-07-26 08:54:20 +07:00
Wilfred Hughes
03d1f9bf26
Lint against .to_string() on String
2024-05-07 08:39:07 +07:00
Wilfred Hughes
9474635076
Prefer .to_owned() on &str
2024-05-07 08:32:30 +07:00
Wilfred Hughes
93ae0e91db
Fix typos
2024-03-12 23:08:39 +07:00
Wilfred Hughes
3d29dc1228
Silence some clippy lints
2024-03-11 22:26:30 +07:00
Wilfred Hughes
34fa3d6eff
Use a blank line after all diff summaries
2024-03-07 08:19:58 +07:00
Wilfred Hughes
cbbcbb3094
Parse file mode properly from git and pass through
2024-02-20 00:07:06 +07:00
Nimrod
9f8d79bb7f
Allow JSON output to respect skip-unchanged
2024-02-14 16:08:40 +07:00
Wilfred Hughes
35a182dd42
Remove bool_to_int_with_if clippy config
...
This doesn't exist in Rust 1.63 (it was added in 1.65) and 1.67 moved
it to allow-by-default anyway.
2024-01-05 08:39:08 +07:00
Wilfred Hughes
db0c150f61
Report permission changes
...
Fixes #605
2023-12-30 11:20:00 +07:00
Wilfred Hughes
68f28a8085
More use of renamed over extra_info
2023-12-29 19:51:14 +07:00
Wilfred Hughes
b71c553d07
Clarify field that is a path description, not a path
2023-12-29 19:47:39 +07:00
Wilfred Hughes
8b90c95e01
When called with a single path, require conflict markers
...
Fixes #585
2023-12-29 19:39:44 +07:00
Wilfred Hughes
72348338aa
Style warnings more prominently
2023-12-14 09:07:47 +07:00
Yuya Nishihara
8e35c9272c
Drop use of AtomicBool from diffing frontend
...
All diff consumers can now access to a mutable bool.
2023-12-07 08:37:42 +07:00
Yuya Nishihara
d04a7cd78b
Move diffing job to worker thread instead of printing loop
...
The scoped thread API allows this change, and I think it's slightly easier
to follow. We can also remove the AtomicBool.
2023-12-07 08:37:42 +07:00
Yuya Nishihara
44578368ab
Use scoped thread API in directory diff frontend
...
Just a code cleanup. As the minimum Rust version is now 1.63.0, we don't need
to manage the spawned thread manually.
2023-12-07 08:37:42 +07:00
Wilfred Hughes
e01b2f9f83
Fix a clippy warning about nested ifs
2023-11-28 13:29:33 +07:00
Wilfred Hughes
08853fa9b6
Clarify comment
2023-11-28 11:34:45 +07:00
Milan Damen
a8d6253509
Sort by path before outputting directory diff so that the order is always the same ( #593 )
...
* Sort by path before outputting directory diff so that the order is always the same
* Added feature flag --sort-paths (DFT_SORT_PATHS) to enable/disable sorting paths when diffing directory (default disabled)
2023-11-20 10:24:35 +07:00
Wilfred Hughes
60d0f61cbd
Define a separate words module
2023-11-18 16:46:13 +07:00
Wilfred Hughes
2e415f687d
cargo fmt
2023-11-11 20:57:41 +07:00
Wilfred Hughes
7321f663dc
Enable some more clippy warnings
2023-11-11 10:48:22 +07:00
Wilfred Hughes
848984d482
Silence some clippy warnings
2023-11-11 10:47:26 +07:00
Wilfred Hughes
67dbf0e962
Add --strip-cr
...
Closes #486
2023-10-10 08:36:57 +07:00
Wilfred Hughes
992437db1d
Show the language name when parsing fails
2023-09-28 00:33:49 +07:00
Wilfred Hughes
40403b2b8f
Pass lang_conf with language so they're Some/None together
2023-09-27 23:51:45 +07:00