delta

A syntax-highlighting pager for git, diff, grep, and blame output

MIT License

Downloads
7.9K
Stars
22.7K
Committers
111

Bot releases are hidden (Show)

delta - 0.1.1

Published by dandavison over 4 years ago

delta - 0.1.0

Published by dandavison over 4 years ago

  • Windows builds are fixed!
  • [closed] File paths with spaces in them truncated #127
  • [closed] There is no output when there is a merge conflict #125
delta - 0.0.18

Published by dandavison over 4 years ago

  • New options --keep-plus-minus-markers and --color-only #122
  • [closed] Properly calculate string widths for CJK characters #121 Thanks @xen0n!
  • [closed] Delta should be aware of diff.noprefix option (truncated filenames) #120
  • [closed] Include new bat themes introduced in v0.13.0 #118
  • [closed] Support git stash show --stat --patch #100
delta - 0.0.17

Published by dandavison over 4 years ago

This release brings new command line options for controlling the colors used for structural element decorations (commits, files, hunk markers), and a consistent pattern for specifying colors for all options that accept a color as a value.

New options are

--commit-style <commit_style>
    Formatting style for the commit section of git output. Options are: plain, box. [default: plain]

--file-style <file_style>              
    Formatting style for the file section of git output. Options are: plain, box, underline. [default:  
    underline]
--hunk-style <hunk_style>
    Formatting style for the hunk-marker section of git output. Options are: plain, box. [default: box]

The --help output now features the following.

Colors
------

All delta color options work the same way. There are three ways to specify a color:

1. RGB hex code

   An example of using an RGB hex code is:
   --file-color="#0e7c0e"

2. ANSI color name

   There are 8 ANSI color names:
   black, red, green, yellow, blue, magenta, cyan, white.

   In addition, all of them have a bright form:
   bright-black, bright-red, bright-green, bright-yellow, bright-blue, bright-magenta, bright-cyan, bright-white

   An example of using an ANSI color name is:
   --file-color="green"

   Unlike RGB hex codes, ANSI color names are just names: you can choose the exact color that each
   name corresponds to in the settings of your terminal application (the application you use to
   enter commands at a shell prompt). This means that if you use ANSI color names, and you change
   the color theme used by your terminal, then delta's colors will respond automatically, without
   needing to change the delta command line.

   "purple" is accepted as a synonym for "magenta". Color names and codes are case-insensitive.

3. ANSI color number

   An example of using an ANSI color number is:
   --file-color=28

   There are 256 ANSI color numbers: 0-255. The first 16 are the same as the colors described in
   the "ANSI color name" section above. See https://en.wikipedia.org/wiki/ANSI_escape_code#8-bit.
   Specifying colors like this is useful if your terminal only supports 256 colors (i.e. doesn't
   support 24-bit color).
  • [closed] Support mapping 24 bit colors to 8 bit approximation #110
  • [closed] Add --paging option to control whether a pager is used #108
  • [closed] Add option to change colors of box/underline/file text #99 #103
  • [closed] Show binary files changes in delta output #93
delta -

Published by dandavison over 4 years ago

There is no Windows executable for release 0.0.16 due to the current Windows build failure.

  • [closed] Support bat custom themes and syntax definitions #19
  • [closed] Fix --plus-emph-color in commented text #71
  • [closed] Fix base16, ansi-dark, and ansi-light themes #54
  • [closed] Change Debian package name to avoid clash #26
  • [closed] Fix build on macOS Catalina #24
  • [closed] Fix Haskell/SQL comment parser ambiguity #89
delta - 0.0.15

Published by dandavison almost 5 years ago

  • [enhancement][good first issue] Support diff -u ... | delta #53
  • [closed] Added first and last line of hunk is not highlighted #52
  • [bug] PAGER and BAT_PAGER should be ignored when set but empty #42
  • [bug] Terminal size is off by one on Linux #41
  • [closed] Reduce startup time #35
  • [enhancement] Allow theme to be set via environment variables #2
delta - https://github.com/dandavison/delta/releases/tag/0.0.14

Published by dandavison almost 5 years ago

delta - https://github.com/dandavison/delta/releases/tag/0.0.13

Published by dandavison about 5 years ago

delta - https://github.com/dandavison/delta/releases/tag/0.0.12

Published by dandavison about 5 years ago

delta -

Published by dandavison about 5 years ago

  • New option --theme=none to disable syntax highlighting.
delta -

Published by dandavison about 5 years ago

This release adds a Windows binary. There are still some issues affecting the Windows version. See #12 and thanks to @lzybkr.

delta - https://github.com/dandavison/delta/releases/tag/0.0.9

Published by dandavison about 5 years ago

delta - Multiple edit detection

Published by dandavison about 5 years ago

This release switches to a more sophisticated algorithm for inferring the edits responsible for transforming the old block of lines into their new version. Multiple deletion and insertion events will now be highlighted within a single pair of lines; previously the algorithm attempted to identify a single contiguous stretch of deleted/inserted characters.

delta - https://github.com/dandavison/delta/releases/tag/0.0.7

Published by dandavison about 5 years ago

delta - 0.0.6

Published by dandavison about 5 years ago

Automatically deployed release

delta - https://github.com/dandavison/delta/releases/tag/0.0.5

Published by dandavison about 5 years ago

delta - https://github.com/dandavison/delta/releases/tag/0.0.4

Published by dandavison about 5 years ago

delta - https://github.com/dandavison/delta/releases/tag/0.0.3

Published by dandavison over 5 years ago

delta - https://github.com/dandavison/delta/releases/tag/0.0.2

Published by dandavison over 5 years ago

delta - https://github.com/dandavison/delta/releases/tag/0.0.1

Published by dandavison over 5 years ago

Package Rankings
Top 1.48% on Alpine-v3.18
Top 8.07% on Alpine-v3.16
Top 8.22% on Alpine-v3.17
Top 5.44% on Alpine-edge
Top 14.66% on Crates.io
Top 8.17% on Formulae.brew.sh
Top 34.13% on Pypi.org