Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on CLI tool, written in Rust, to diff directory snapshots. Parent comment
Out of curiosity, I setup two directories where the second has a new file, a modified file, and a removed file compared to the first:
$ tree dir1/ dir2/ dir1/ ├── empty.txt ├── modified.txt ├── remove-this.txt └── unchanged.txt dir2/ ├── empty.txt ├── modified.txt ├── new-file.txt └── unchanged.txt
$ git diff --name-status dir1 dir2 M dir1/modified.txt A dir2/new-file.txt D dir1/remove-this.txt
There are no comments on this comment yet.
Out of curiosity, I setup two directories where the second has a new file, a modified file, and a removed file compared to the first:
Then `git diff --name-status dir1 dir2` outputs the following, showing the changes by file name. This also doesn't require running `git init` on the two directories either, so it's immediately usable out of the box.