mirror of
https://github.com/Llewellynvdm/exa.git
synced 2024-12-26 01:57:32 +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.
1.5 KiB
1.5 KiB
.rw-rw-r-- 20 cassowary 1 Jan 12:34 NM /testcases/git/additions/edited .rw-rw-r-- 15 cassowary 1 Jan 12:34 M- /testcases/git/edits/staged
.rw-rw-r-- 0 cassowary 1 Jan 12:34 N- /testcases/git/additions/staged .rw-rw-r-- 20 cassowary 1 Jan 12:34 -M /testcases/git/edits/unstaged
.rw-rw-r-- 0 cassowary 1 Jan 12:34 -N /testcases/git/additions/unstaged .rw-rw-r-- 21 cassowary 1 Jan 12:34 N- /testcases/git/moves/thither
.rw-rw-r-- 20 cassowary 1 Jan 12:34 MM /testcases/git/edits/both drwxr-xr-x - cassowary 1 Jan 12:34 -- /testcases
.rw-rw-r-- 0 cassowary 1 Jan 12:34 N- /testcases/git/additions/staged .rw-rw-r-- 20 cassowary 1 Jan 12:34 -M /testcases/git/edits/unstaged
.rw-rw-r-- 0 cassowary 1 Jan 12:34 -N /testcases/git/additions/unstaged .rw-rw-r-- 21 cassowary 1 Jan 12:34 N- /testcases/git/moves/thither
.rw-rw-r-- 20 cassowary 1 Jan 12:34 MM /testcases/git/edits/both drwxr-xr-x - cassowary 1 Jan 12:34 -- /testcases