exa/xtests/git_2_tree
Benjamin Sago c60ea36a31 Allow --git --tree, too
This works by checking if any of the (immediate) files being listed are under Git, and hiding the column if all aren’t.
2017-09-02 12:53:08 +01:00

14 lines
2.5 KiB
Plaintext
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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