]> gitweb.ps.run Git - ps-cgit/commit
ui-shared: shorten the sha1 printed by cgit_object_link
authorLars Hjemli <hjemli@gmail.com>
Mon, 1 Dec 2008 20:58:59 +0000 (21:58 +0100)
committerLars Hjemli <hjemli@gmail.com>
Mon, 1 Dec 2008 21:01:26 +0000 (22:01 +0100)
commitc57aceb1d2f1a7d9fd3218fc8c6e9ea01b2952d2
treede7a4c97a83ac348b96052be358cfd414de4afbc
parent6596268576a4f5fe2f5c8a3238856b0fb205ff76
ui-shared: shorten the sha1 printed by cgit_object_link

Such links was printed as the object type followed by the objects complete
sha1. We still use the complete sha1 in the link but we no longer show it
in all its glory; only the first 10 hex chars are printed.

Signed-off-by: Lars Hjemli <hjemli@gmail.com>
ui-shared.c