From: John Keeping Date: Sat, 31 Mar 2018 14:06:01 +0000 (+0100) Subject: ui-shared: use the same snapshot logic as ui-refs X-Git-Url: https://gitweb.ps.run/ps-cgit/commitdiff_plain/5b1f42ffeec7e315fc4fcff5145e5b0adca30715?hp=5b1f42ffeec7e315fc4fcff5145e5b0adca30715 ui-shared: use the same snapshot logic as ui-refs Make snapshot links in the commit UI use the same prefix algorithm as those in the summary UI, so that refs starting with the snapshot prefix are used as-is rather than composed with the prefix repeated. Signed-off-by: John Keeping Reviewed-by: Christian Hesse ---