mirror of
https://github.com/Llewellynvdm/exa.git
synced 2024-11-16 17:25:11 +00:00
c60ea36a31
This works by checking if any of the (immediate) files being listed are under Git, and hiding the column if all aren’t.
2.0 KiB
2.0 KiB
drwxrwxr-x - cassowary 1 Jan 12:34 NN /testcases/git
drwxrwxr-x - cassowary 1 Jan 12:34 NN ├── additions
.rw-rw-r-- 20 cassowary 1 Jan 12:34 NM │ ├── edited
.rw-rw-r-- 0 cassowary 1 Jan 12:34 N- │ ├── staged
.rw-rw-r-- 0 cassowary 1 Jan 12:34 -N │ └── unstaged
drwxrwxr-x - cassowary 1 Jan 12:34 MM ├── edits
.rw-rw-r-- 20 cassowary 1 Jan 12:34 MM │ ├── both
.rw-rw-r-- 15 cassowary 1 Jan 12:34 M- │ ├── staged
.rw-rw-r-- 20 cassowary 1 Jan 12:34 -M │ └── unstaged
drwxrwxr-x - cassowary 1 Jan 12:34 N- └── moves
.rw-rw-r-- 21 cassowary 1 Jan 12:34 N- └── thither
drwxrwxr-x - cassowary 1 Jan 12:34 NN ├── additions
.rw-rw-r-- 20 cassowary 1 Jan 12:34 NM │ ├── edited
.rw-rw-r-- 0 cassowary 1 Jan 12:34 N- │ ├── staged
.rw-rw-r-- 0 cassowary 1 Jan 12:34 -N │ └── unstaged
drwxrwxr-x - cassowary 1 Jan 12:34 MM ├── edits
.rw-rw-r-- 20 cassowary 1 Jan 12:34 MM │ ├── both
.rw-rw-r-- 15 cassowary 1 Jan 12:34 M- │ ├── staged
.rw-rw-r-- 20 cassowary 1 Jan 12:34 -M │ └── unstaged
drwxrwxr-x - cassowary 1 Jan 12:34 N- └── moves
.rw-rw-r-- 21 cassowary 1 Jan 12:34 N- └── thither