mirror of
https://github.com/Llewellynvdm/exa.git
synced 2024-11-10 23:00:56 +00:00
45a807a14f
This is all a big commit because it took a lot more work than I thought it would! The commit basically moves Git repositories from being per-directory to living for the whole life of the program. This allows for several directories in the same repository to be listed in the same invocation; before, it would try to rediscover the repository each time! This is why two of the tests “broke”: it suddenly started working with --recurse. The Dir type does now not use Git at all; because a Dir doesn’t have a Git, then a File doesn’t have one either, so the Git cache gets passed to the render functions which will put them in the Table to render them.
2.1 KiB
2.1 KiB
drwxrwxr-x - cassowary 1 Jan 12:34 -N deeply
drwxrwxr-x - cassowary 1 Jan 12:34 -N ignoreds
drwxrwxr-x - cassowary 1 Jan 12:34 -- target
/testcases/git2/deeply:
drwxrwxr-x - cassowary 1 Jan 12:34 -N nested
/testcases/git2/deeply/nested:
drwxrwxr-x - cassowary 1 Jan 12:34 -N directory
drwxrwxr-x - cassowary 1 Jan 12:34 -N repository
/testcases/git2/deeply/nested/directory:
.rw-rw-r-- 0 cassowary 1 Jan 12:34 -N l8st
.rw-rw-r-- 18 cassowary 1 Jan 12:34 -M upd8d
/testcases/git2/deeply/nested/repository:
.rw-rw-r-- 0 cassowary 1 Jan 12:34 -- subfile
/testcases/git2/ignoreds:
.rw-rw-r-- 0 cassowary 1 Jan 12:34 -N music.m4a
.rw-rw-r-- 0 cassowary 1 Jan 12:34 -- music.mp3
/testcases/git2/target:
.rw-rw-r-- 0 cassowary 1 Jan 12:34 -- another ignored file
drwxrwxr-x - cassowary 1 Jan 12:34 -N ignoreds
drwxrwxr-x - cassowary 1 Jan 12:34 -- target
/testcases/git2/deeply:
drwxrwxr-x - cassowary 1 Jan 12:34 -N nested
/testcases/git2/deeply/nested:
drwxrwxr-x - cassowary 1 Jan 12:34 -N directory
drwxrwxr-x - cassowary 1 Jan 12:34 -N repository
/testcases/git2/deeply/nested/directory:
.rw-rw-r-- 0 cassowary 1 Jan 12:34 -N l8st
.rw-rw-r-- 18 cassowary 1 Jan 12:34 -M upd8d
/testcases/git2/deeply/nested/repository:
.rw-rw-r-- 0 cassowary 1 Jan 12:34 -- subfile
/testcases/git2/ignoreds:
.rw-rw-r-- 0 cassowary 1 Jan 12:34 -N music.m4a
.rw-rw-r-- 0 cassowary 1 Jan 12:34 -- music.mp3
/testcases/git2/target:
.rw-rw-r-- 0 cassowary 1 Jan 12:34 -- another ignored file