Diff options
authorJohn Keeping <john@keeping.me.uk>
committerJason A. Donenfeld <Jason@zx2c4.com>
commit
parent
tree
download
Extract clone URL printing to ui-shared.c
This will allow us to reuse the same logic to add clone URL <link/> elements to the header of all repo-specific pages in order to support the rel-vcs microformat. Signed-off-by: John Keeping <john@keeping.me.uk>
-rw-r--r--ui-shared.c37
-rw-r--r--ui-shared.h2
-rw-r--r--ui-summary.c58
3 files changed, 51 insertions, 46 deletions