summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2021-12-09Query fewer processes when searching for the parentprocsThomas Otto
This query now happens for more invocation types, so speed it up. Call `refresh_process()` only on pids numerically close to the one of delta itself.
2021-12-08Bump sysinfo from 0.19.2 to 0.20.5dependabot[bot]
Bumps [sysinfo](https://github.com/GuillaumeGomez/sysinfo) from 0.19.2 to 0.20.5. - [Release notes](https://github.com/GuillaumeGomez/sysinfo/releases) - [Changelog](https://github.com/GuillaumeGomez/sysinfo/blob/master/CHANGELOG.md) - [Commits](https://github.com/GuillaumeGomez/sysinfo/commits) --- updated-dependencies: - dependency-name: sysinfo dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
2021-12-08Fix order of struct entriesDan Davison
2021-12-07Bump version0.11.2Dan Davison
2021-12-07Disable last-resort process tree inspectionDan Davison
See #824 in which some users are reporting very slow performance. Fixes #824
2021-12-07Fixed some test clippysThomas Otto
Note that currently `cargo clippy --tests` is not checked by the CI runs
2021-12-07Fix more side-by-side line number miscountsThomas Otto
2021-12-07Add DeltaTest to speed up adding and fixing testsThomas Otto
Using a syntax similar to the builder pattern: `DeltaTest::with([config options]).with_input(DIFF).expect(lines)` plus `.explain_ansi()` to pretty-print ansi codes and `.inspect()` to print the to-be-tested output. Rewrite a few tests using it and add ansi tests for --line-fill-method=<spaces|ansi>
2021-12-07Move explain_ansi() part out of parse_ansi()Thomas Otto
2021-12-07Clarify hyperlinks fieldAn Yu
2021-12-06Add @nkouevda's pdiff to the Similar Projects listDan Davison
2021-12-06Bump version in links to executablesDan Davison
2021-12-06Bump version0.11.1Dan Davison
2021-12-06Be permissive about unexpected state machine stateDan Davison
Fixes #826
2021-12-05Add a link to ARCHITECTURE.mdDan Davison
2021-12-05Update READMEDan Davison
2021-12-05Bump version in private Homebrew formulaDan Davison
2021-12-05Document merge conflict handling0.11.0Dan Davison
2021-12-05README editsDan Davison
2021-12-05Bump versionDan Davison
2021-12-05Gracefully handle failure to parse hunk headerDan Davison
Fixes #765
2021-12-05Failing test for #765Dan Davison
2021-12-05Do not truncate hunk header lineDan Davison
Fixes #813
2021-12-05Add test of parsing cthulhu commit hunk headerDan Davison
Ref #813
2021-12-05Bug fix: fix panic in merge conflict `diff -U0`Dan Davison
2021-12-05Add InMergeConflict to combined diff enum variantDan Davison
This allows keep-plus-minus-markers=false to be honored inside merge conflicts but not honored for combined diff regions outside merge conflicts.
2021-12-05Display merge conflictsDan Davison
2021-12-05Example diffsDan Davison
2021-12-05Refactor: paint_minus_and_plus_lines functionDan Davison
2021-12-05Handle combined diff formatDan Davison
With this commit combined diff format (https://git-scm.com/docs/git-diff#_combined_diff_format) is handled appropriately. However, there is no special handling of merge conflict markers. Fixes #189, #736
2021-12-05Fix blame background colorsDan Davison
These had been broken by ec08c4de76ff26046a0cebc70a54f5c42fbfb835
2021-12-05PERF: Add commentDan Davison
2021-12-04Silence warningDan Davison
2021-12-04README editDan Davison
2021-12-04Fix weird but correct line handlingDan Davison
This handler function was returning `false`, thus signaling that it had not handled the line, when it was not the responsibility of any other handler to handle the line. It was doing this to rely on the fall-through handlers determining whether to emit the line or skip it. But this risks another handler handling it and is a violation of the contract. It is much more appropriate to make the determination in the handler itself, emit it if appropriate, and signal that it has been handled.
2021-12-04Cthulhu commit diffDan Davison
https://github.com/torvalds/linux/commit/2cde51fbd0f310c8a2c5f977e665c0ac3945b46d https://www.destroyallsoftware.com/blog/2017/the-biggest-and-weirdest-commits-in-linux-kernel-git-history
2021-12-03Bump version in links to executablesDan Davison
2021-12-03Bump version in private Homebrew formulaDan Davison
2021-12-02Fix new v1.57 clippy warnings0.10.3Thomas Otto
2021-12-02Fix side-by-side line number miscountThomas Otto
2021-11-30[themes.gitconfig] add woolly-mammoth blame configKr1ss
2021-11-30Fix colorMoved in git config exampleMaxim Doucet
According to [git documentation for diff.colorMoved](https://git-scm.com/docs/git-diff#Documentation/git-diff.txt---color-movedltmodegt), `true` is not a correct value. `default` is a correct value and it also matches the "`--color-moved` support" section of this README.
2021-11-30Fix navigate option in git config exampleMaxim Doucet
The navigate option does not work when present in the `[core]` section of the git config because it is not a git option. It works correctly when present in the `[delta]` section.
2021-11-30README: Fix indentationDan Davison
2021-11-30README editsDan Davison
2021-11-29Refactor: `if let` instead of `match`Dan Davison
2021-11-29Rename: FileMeta => DiffHeaderDan Davison
2021-11-29Initial version of ARCHITECTURE.mdDan Davison
2021-11-29Do not handle --word-diff or --color-words outputDan Davison
Fixes #440 Ref #152
2021-11-29Refactor: is_in_hunkDan Davison