aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/ui-clone.h
blob: 89cd4f1e209b7f8e57edc3bf31a70493d5391633 (plain)
1
2
3
4
5
6
7
8
#ifndef UI_CLONE_H
#define UI_CLONE_H

void cgit_clone_info(struct cgit_context *ctx);
void cgit_clone_objects(struct cgit_context *ctx);
void cgit_clone_head(struct cgit_context *ctx);

#endif /* UI_CLONE_H */
pan class="c1"># CGIT_REPO_URL ( = repo.url setting ) # CGIT_REPO_NAME ( = repo.name setting ) # CGIT_REPO_PATH ( = repo.path setting ) # CGIT_REPO_OWNER ( = repo.owner setting ) # CGIT_REPO_DEFBRANCH ( = repo.defbranch setting ) # CGIT_REPO_SECTION ( = section setting ) # CGIT_REPO_CLONE_URL ( = repo.clone-url setting ) # regex='' # This expression generates links to commits referenced by their SHA1. regex=$regex' s|\b([0-9a-fA-F]{7,40})\b|<a href="./?id=\1">\1</a>|g' # This expression generates links to a fictional bugtracker. regex=$regex' s|#([0-9]+)\b|<a href="http://bugs.example.com/?bug=\1">#\1</a>|g' sed -re "$regex"