git-split-diffs
Dev tools
git diff viewer
SHOW HN2021
178points
50comments
#267of 2,533 in 2021
Top 11%of 2021 by points
How HN took it
LovedMost comments that take a side are positive
10 positive, 2 neutral or asking, 2 mixed, 2 critical, out of 16 comments about the project. Thread score +0.43.
Design: 4 for, 0 againstIdea: 1 for, 1 againstExecution: 1 for, 1 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
Better default look than delta
From 1 comment
I agree that's important! Delta's screenshot colors are so ugly that yours looks like the far superior product. It also seems more focused on diffs. I feel like I could drop in…
Noumenon72 on HN
Objections
Slow startup due to Node process and syntax highlighting
From 2 comments
This is cool! A bit slow to start up, probably due to starting up a node process each run, but looks great. Wondering if you have a theme that doesn't include a background color…
seabass on HNThe slowest operation is syntax highlighting: https://github.com/banga/git-split-diffs#performance. I have a PR out to improve that somewhat. Good point about the themes, I'll…
milkbikis on HN
Node dependencies are heavy compared to a compiled binary
From 2 comments
I would much rather use this, a nice secluded statically compiled blob instead of letting node.js unspool a spaghetti of dependencies.
giantandroids on HNThe diffs look beautiful. One suggestion to the author be to bundle this as a self-contained binary. This would have a huge impact on whether I want to install it. For this, I…
vendiddy on HN
Requests
Bundle as a self-contained binary
From 1 comment
The diffs look beautiful. One suggestion to the author be to bundle this as a self-contained binary. This would have a huge impact on whether I want to install it. For this, I…
vendiddy on HN
Theme without background color
From 1 comment
This is cool! A bit slow to start up, probably due to starting up a node process each run, but looks great. Wondering if you have a theme that doesn't include a background color…
seabass on HN
Questions
How to automate screenshots headlessly
From 2 comments
Is anyone familiar with a good way to programatically create a diff like this as an image? I wrote a small script that tracks changes to your kubernetes cluster and sends a diff…
nyellin on HNThank you. If you find a better way which works on a headless Linux container let me know. I would be interested in the older versions of your automation even if the output is…
nyellin on HN
Alternatives named
delta
From 2 comments
I already use delta for this: https://github.com/dandavison/delta I thought delta was fairly well-known by now so I was surprised to see this project not mention it (the readme…
kbd on HNI've been using delta: https://github.com/dandavison/delta It can be easily set up...
nishparadox on HN
vim fugitive / vimdiff
From 2 comments
When I find myself wanting a split diff in the terminal, I tend to gravitate towards just using Vim’s built in diff mode via vim-fugitive. I even have some git aliases that will…
jez on HNI just use `vimdiff`, but this looks better.
nfoz on HN
icdiff
From 2 comments
You can just use icdiff to get handsome-looking split diffs in terminal. https://github.com/jeffkaufman/icdiff in your .gitconfig ``` [diff] tool = icdiff [difftool] prompt =…
busterarm on HN`diff -y` works in a pinch but I generally use icdiff: https://www.jefftk.com/icdiff
zeckalpha on HN
kitty-diff and tig
From 1 comment
I enjoy having good terminal ergonomics for Git. What works for me is tig for git diffs. Also very impressive is kitty-diff. If you use kitty as your OpenGL enabled terminal…
weitzj on HN
diff-so-fancy
From 1 comment
Related but for single pane diffs: https://github.com/so-fancy/diff-so-fancy
bovine3dom on HN