delta

Dev tools

diff viewer

SHOW HN2020

Legend

delta

A syntax highlighter for Git and diff output, written in Rust

github.com

#git diff#syntax highlighting#diff pager#terminal diff

261points
40comments
#174of 3,028 in 2020
Top 6%of 2020 by points

How HN took it

MixedNo clear lean

7 positive, 10 neutral or asking, 0 mixed, 5 critical, out of 22 comments about the project. Thread score +0.02.

Design: 2 for, 3 againstDocs: 1 for, 2 againstExecution: 1 for, 0 againstIdea: 1 for, 0 against

The thread, comment by comment

Each row is a top-level comment and its replies, in HN's order. Select a cell to open that comment on HN.

positive neutral or mixed critical about another commenter or something else the maker

What HN said

What people liked

  • Looks great and a big step up from diff-so-fancy

    From 1 comment
    • Just installed it, it looks great and is a big step up from diff-so-fancy. Thanks for making this!
      nitsky on HN
  • Light theme looks beautiful

    From 1 comment
  • Makes daily code reviews much better

    From 1 comment
    • Stuff like that makes my daily code reviews so so SO much better! I can't thank you enough!
      axegon_ on HN

Objections

  • Dark theme example has unreadable blue colors

    From 1 comment
    • FYI that dark theme example has unreadable blue for me in looking at it with night shift on. I'd suggest swapping out for a better theme.
      xixixao on HN
  • Lacks line numbers on every line, unlike GitHub

    From 1 comment
    • This might be just me but looking at the screenshots, I clearly prefer the GitHub one as it shows the line numbers of every line in both before and after. Line numbers make…
      kccqzy on HN
  • Config examples failed due to theme names and quoting

    From 2 comments
    • As a suggestion, I'd have the configuration step in 'Configure git to use delta' not reference a theme that doesn't come with the initial install as you've done with…
      bdefore on HN
    • Anyone else getting this issue? ``` ⟩ git diff error: Found argument 'Extended' which wasn't expected, or isn't valid in this context USAGE: delta --dark --minus-color…
      willbw on HN

Requests

  • Side-by-side diff view

    From 1 comment
    • Is there a way to see diff output side-by-side? I personally find that much easier to parse through with a widescreen monitor.
      ninjaranter on HN
  • Support for git add -p

    From 1 comment
    • Does it work properly with `git add -p`? That's a longstanding issue of diff-so-fancy: https://github.com/so-fancy/diff-so-fancy/issues/35
      frou_dh on HN
  • Line numbers on every line

    From 1 comment
    • This might be just me but looking at the screenshots, I clearly prefer the GitHub one as it shows the line numbers of every line in both before and after. Line numbers make…
      kccqzy on HN

Questions

  • How to get working with vim-fugitive

    From 1 comment
    • Anyone know how to get this working with vim-fugitive? https://github.com/tpope/vim-fugitive
      firloop on HN
  • Good plus-color for solarized-dark terminals

    From 1 comment
    • Can anybody suggest a --plus-color that looks nice on a solarized-dark blue terminal?
      j88439h84 on HN

Alternatives named

  • diff-highlight

    From 1 comment
    • This is neat. In a similar fashion I'm a big fan of diff-highlight, [0] which post-processes the git diff and highlights with color the differing segments. It's super lightweight…
      apas on HN
  • diff-so-fancy

    From 1 comment
    • Does it work properly with `git add -p`? That's a longstanding issue of diff-so-fancy: https://github.com/so-fancy/diff-so-fancy/issues/35
      frou_dh on HN
  • diffr

    From 1 comment
    • Sort of related: as I never made diff-highlight work correctly on Windows, I wrote diffr[0] which goes a little bit behond what diff-highlight does. [0]:…
      mookid11 on HN
  • icdiff

    From 1 comment
    • icdiff is my current favorite. This does look nice, though I'm a little confused by the choice to highlight the section below the function declaration change even though it…
      eximius on HN
  • colordiff

    From 1 comment
    • A comparison to http://www.colordiff.org/ would be good in the table of the README.
      Klasiaster on HN

Category, keywords, summaries and labels on this page were made by AI (Thread Reader v2) and not checked by hand. Each point links to the comments it came from.

Add a badge to your READMEShown on HackerShow
[![Shown on HackerShow](https://hackershow.org/badge.svg)](https://hackershow.org/show/22996374)