]> gitweb.ps.run Git - ps-cgit/commit
ui-plain: print symlink content
authorJohn Keeping <john@keeping.me.uk>
Mon, 6 Mar 2017 23:27:23 +0000 (23:27 +0000)
committerJason A. Donenfeld <Jason@zx2c4.com>
Thu, 10 Aug 2017 14:05:07 +0000 (16:05 +0200)
commit51cc456b773a3bb7253fad2146c1a0d2b0fa98cb
tree4c6fc087bf0b24f50aadd266c191e10e604ac5cd
parent113f4b85886bc5eb6b319fd048623b8d43b7bce0
ui-plain: print symlink content

We currently ignore symlinks in ui-plain, leading to a 404.  In ui-tree
we print the content of the blob (that is, the path to the target of the
link), so it makes sense to do the same here.

Signed-off-by: John Keeping <john@keeping.me.uk>
ui-plain.c