summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.cargo/audit.toml4
-rw-r--r--.github/ISSUE_TEMPLATE/bug.md8
-rw-r--r--.github/dependabot.yml15
-rw-r--r--.github/workflows/audit.yml3
-rw-r--r--.github/workflows/cd.yml113
-rw-r--r--.github/workflows/ci.yml114
-rw-r--r--.github/workflows/manual.yml56
-rw-r--r--ARCHITECTURE.md157
-rw-r--r--CONTRIBUTING.md10
-rw-r--r--Cargo.lock1553
-rw-r--r--Cargo.toml54
-rw-r--r--HomeBrewFormula/git-delta.rb6
-rw-r--r--Makefile6
-rw-r--r--README.md972
-rw-r--r--etc/assets/syntaxes.binbin0 -> 671149 bytes
-rw-r--r--etc/assets/themes.binbin0 -> 16672 bytes
-rwxr-xr-xetc/bin/diagnostics2
-rwxr-xr-xetc/ci/before_deploy.sh5
-rw-r--r--etc/completion/completion.bash2
-rw-r--r--etc/completion/completion.fish99
-rw-r--r--etc/docker/Makefile3
-rw-r--r--etc/docker/README.md1
-rwxr-xr-xetc/docker/delta-ubuntu1
-rw-r--r--etc/docker/ubuntu.Dockerfile14
-rw-r--r--etc/examples/189-merge-conflict.1.diff38
-rw-r--r--etc/examples/189-merge-conflict.2.diff100
-rw-r--r--etc/examples/189-merge-conflict.3.diff41
-rw-r--r--etc/examples/189-merge-conflict.4.diff16
-rw-r--r--etc/examples/189-merge-conflict.5.diff17
-rw-r--r--etc/examples/308-side-by-side-tabs.diff12
-rwxr-xr-xetc/examples/662-submodules45
-rw-r--r--etc/examples/72-color-moved-2.diff8
-rw-r--r--etc/examples/72-color-moved-3.diff14
-rw-r--r--etc/examples/72-color-moved-4.diff8
-rw-r--r--etc/examples/802-color-moved.diff12
-rw-r--r--etc/examples/813-cthulhu.diff1495
-rw-r--r--etc/examples/822-hunk-header-within-merge-conflict.diff545
-rw-r--r--etc/examples/styles.py4
-rw-r--r--etc/release.Makefile29
-rw-r--r--manual/.gitignore1
-rw-r--r--manual/Makefile8
-rw-r--r--manual/book.toml6
-rw-r--r--manual/src/SUMMARY.md36
-rw-r--r--manual/src/build-delta-from-source.md17
-rw-r--r--manual/src/choosing-colors-styles.md16
-rw-r--r--manual/src/color-moved-support.md68
-rw-r--r--manual/src/comparisons-with-other-tools.md51
-rw-r--r--manual/src/configuration.md54
-rw-r--r--manual/src/custom-themes.md25
-rw-r--r--manual/src/delta-configs-used-in-screenshots.md25
-rw-r--r--manual/src/diff-highlight-and-diff-so-fancy-emulation.md11
-rw-r--r--manual/src/environment-variables.md44
-rw-r--r--manual/src/features-named-groups-of-settings.md41
-rw-r--r--manual/src/features.md32
-rw-r--r--manual/src/full---help-output.md796
-rw-r--r--manual/src/get-started.md21
-rw-r--r--manual/src/git-blame.md6
-rw-r--r--manual/src/grep.md34
-rw-r--r--manual/src/how-delta-works.md11
-rw-r--r--manual/src/installation.md99
-rw-r--r--manual/src/introduction.md23
-rw-r--r--manual/src/line-numbers.md10
-rw-r--r--manual/src/merge-conflicts.md14
-rw-r--r--manual/src/navigation-keybindings-for-large-diffs.md3
-rw-r--r--manual/src/related-projects.md31
-rw-r--r--manual/src/side-by-side-view.md35
-rw-r--r--manual/src/supported-languages-and-themes.md12
-rw-r--r--manual/src/tips-and-tricks/24-bit-color-truecolor.md12
-rw-r--r--manual/src/tips-and-tricks/export-to-html.md14
-rw-r--r--manual/src/tips-and-tricks/mouse-scrolling.md8
-rw-r--r--manual/src/tips-and-tricks/tips-and-tricks.md1
-rw-r--r--manual/src/tips-and-tricks/using-delta-on-windows.md3
-rw-r--r--manual/src/tips-and-tricks/using-delta-with-gnu-screen.md19
-rw-r--r--manual/src/tips-and-tricks/using-delta-with-magit.md5
-rw-r--r--manual/src/tips-and-tricks/using-delta-with-tmux.md11
-rw-r--r--manual/src/tips-and-tricks/using-delta-with-vscode.md13
-rw-r--r--manual/src/usage.md21
-rw-r--r--src/align.rs378
-rw-r--r--src/ansi/console_tests.rs3
-rw-r--r--src/ansi/iterator.rs205
-rw-r--r--src/ansi/mod.rs132
-rw-r--r--src/bat_utils/LICENSE (renamed from src/utils/bat/LICENSE)0
-rw-r--r--src/bat_utils/assets.rs144
-rw-r--r--src/bat_utils/dirs.rs (renamed from src/utils/bat/dirs.rs)8
-rw-r--r--src/bat_utils/less.rs (renamed from src/utils/bat/less.rs)10
-rw-r--r--src/bat_utils/mod.rs (renamed from src/utils/bat/mod.rs)0
-rw-r--r--src/bat_utils/output.rs160
-rw-r--r--src/bat_utils/terminal.rs53
-rw-r--r--src/cli.rs1414
-rw-r--r--src/color.rs43
-rw-r--r--src/colors.rs200
-rw-r--r--src/config.rs656
-rw-r--r--src/delta.rs788
-rw-r--r--src/draw.rs (renamed from src/handlers/draw.rs)98
-rw-r--r--src/edits.rs340
-rw-r--r--src/env.rs103
-rw-r--r--src/features/diff_highlight.rs11
-rw-r--r--src/features/diff_so_fancy.rs14
-rw-r--r--src/features/hyperlinks.rs488
-rw-r--r--src/features/line_numbers.rs823
-rw-r--r--src/features/mod.rs39
-rw-r--r--src/features/navigate.rs137
-rw-r--r--src/features/side_by_side.rs788
-rw-r--r--src/format.rs543
-rw-r--r--src/git_config.rs101
-rw-r--r--src/git_config/mod.rs300
-rw-r--r--src/git_config/remote.rs284
-rw-r--r--src/git_config_entry.rs39
-rw-r--r--src/handlers/blame.rs574
-rw-r--r--src/handlers/commit_meta.rs61
-rw-r--r--src/handlers/diff_header.rs649
-rw-r--r--src/handlers/diff_header_diff.rs33
-rw-r--r--src/handlers/diff_header_misc.rs42
-rw-r--r--src/handlers/diff_stat.rs114
-rw-r--r--src/handlers/git_show_file.rs33
-rw-r--r--src/handlers/grep.rs1166
-rw-r--r--src/handlers/hunk.rs420
-rw-r--r--src/handlers/hunk_header.rs597
-rw-r--r--src/handlers/merge_conflict.rs1352
-rw-r--r--src/handlers/mod.rs53
-rw-r--r--src/handlers/ripgrep_json.rs212
-rw-r--r--src/handlers/submodule.rs62
-rw-r--r--src/main.rs593
-rw-r--r--src/minusplus.rs51