From: Johan Herland Date: Wed, 9 Jun 2010 23:09:35 +0000 (+0200) Subject: ui-commit: Preserve path limit in links to commit page X-Git-Url: https://gitweb.ps.run/ps-cgit/commitdiff_plain/685872b770be2af643d00365d5358e46687f7385?ds=inline;hp=685872b770be2af643d00365d5358e46687f7385 ui-commit: Preserve path limit in links to commit page This includes adding a path argument to cgit_commit_link() and updating all its callers. The callers from within the commit page (i.e. the "commit", "unidiff"/"side-by-side diff" and "parent" links) all preserve the path limit of the current commit page. All other callers pass NULL (i.e. no path limit). Signed-off-by: Johan Herland Signed-off-by: Lars Hjemli ---