mirror of
https://github.com/Llewellynvdm/exa.git
synced 2024-11-22 12:05: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.5 KiB
2.5 KiB
drwxrwxr-x - cassowary 1 Jan 12:34 -N /testcases/git2
drwxrwxr-x - cassowary 1 Jan 12:34 -N ├── deeply
drwxrwxr-x - cassowary 1 Jan 12:34 -N │ └── nested
drwxrwxr-x - cassowary 1 Jan 12:34 -N │ ├── directory
.rw-rw-r-- 0 cassowary 1 Jan 12:34 -N │ │ ├── l8st
.rw-rw-r-- 18 cassowary 1 Jan 12:34 -M │ │ └── upd8d
drwxrwxr-x - cassowary 1 Jan 12:34 -N │ └── repository
.rw-rw-r-- 0 cassowary 1 Jan 12:34 -- │ └── subfile
drwxrwxr-x - cassowary 1 Jan 12:34 -N ├── ignoreds
.rw-rw-r-- 0 cassowary 1 Jan 12:34 -N │ ├── music.m4a
.rw-rw-r-- 0 cassowary 1 Jan 12:34 -- │ └── music.mp3
drwxrwxr-x - cassowary 1 Jan 12:34 -- └── target
.rw-rw-r-- 0 cassowary 1 Jan 12:34 -- └── another ignored file
drwxrwxr-x - cassowary 1 Jan 12:34 -N ├── deeply
drwxrwxr-x - cassowary 1 Jan 12:34 -N │ └── nested
drwxrwxr-x - cassowary 1 Jan 12:34 -N │ ├── directory
.rw-rw-r-- 0 cassowary 1 Jan 12:34 -N │ │ ├── l8st
.rw-rw-r-- 18 cassowary 1 Jan 12:34 -M │ │ └── upd8d
drwxrwxr-x - cassowary 1 Jan 12:34 -N │ └── repository
.rw-rw-r-- 0 cassowary 1 Jan 12:34 -- │ └── subfile
drwxrwxr-x - cassowary 1 Jan 12:34 -N ├── ignoreds
.rw-rw-r-- 0 cassowary 1 Jan 12:34 -N │ ├── music.m4a
.rw-rw-r-- 0 cassowary 1 Jan 12:34 -- │ └── music.mp3
drwxrwxr-x - cassowary 1 Jan 12:34 -- └── target
.rw-rw-r-- 0 cassowary 1 Jan 12:34 -- └── another ignored file