]> gitweb.ps.run Git - ps-cgit/commit
ui-tree: show symlink targets in tree listing
authorJune McEnroe <june@causal.agency>
Thu, 19 Dec 2019 21:55:05 +0000 (21:55 +0000)
committerJason A. Donenfeld <Jason@zx2c4.com>
Mon, 19 Dec 2022 14:22:52 +0000 (15:22 +0100)
commitbcffc523669e00abd949778d4defce37532a3855
tree3fae9c77d2b3c93da3ef325889106b1d14685735
parentcc6d9cc7fc010db9be6c2d90fd054fb2d189d629
ui-tree: show symlink targets in tree listing

Add links to symbolic link targets in tree listings, formatted like
"ls -l".  Path normalization collapses any ".." components of the link.

Also fix up memory link on error path.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
ui-tree.c