about summary refs log tree commit diff
diff options
context:
space:
mode:
authorLars Hjemli <hjemli@gmail.com>2007-10-27 10:25:40 +0200
committerLars Hjemli <hjemli@gmail.com>2007-10-27 10:53:27 +0200
commit8efb05f98ad389d1b7f5aac17838401908622dad (patch)
tree100c407d28215fab0e5d2936c939ff39ec5290fc
parentAdd descriptions of summary-branches and summary-tags to cgitrc (diff)
downloadcgit-pink-8efb05f98ad389d1b7f5aac17838401908622dad.tar.gz
cgit-pink-8efb05f98ad389d1b7f5aac17838401908622dad.zip
Make cgit_print_branches()/cgit_print_tags() external
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
-rw-r--r--cgit.h2
-rw-r--r--ui-summary.c4
2 files changed, 4 insertions, 2 deletions
diff --git a/cgit.h b/cgit.h
index bb0e64c..a1fe527 100644
--- a/cgit.h
+++ b/cgit.h
@@ -251,6 +251,8 @@ extern void cgit_print_pageheader(char *title, int show_search);
 extern void cgit_print_snapshot_start(const char *mimetype,
 				      const char *filename,
 				      struct cacheitem *item);
+extern void cgit_print_branches(int maxcount);
+extern void cgit_print_tags(int maxcount);
 
 extern void cgit_print_repolist(struct cacheitem *item);
 extern void cgit_print_summary();
diff --git a/ui-summary.c b/ui-summary.c
index df79d01..97f1b57 100644
--- a/ui-summary.c
+++ b/ui-summary.c
@@ -166,7 +166,7 @@ static int cgit_print_archive_cb(const char *refname, const unsigned char *sha1,
 	return 0;
 }
 
-static void cgit_print_branches(int maxcount)
+void cgit_print_branches(int maxcount)
 {
 	struct reflist list;
 	int i;
@@ -192,7 +192,7 @@ static void cgit_print_branches(int maxcount)
 		cgit_print_branch(list.refs[i]);
 }
 
-static void cgit_print_tags(int maxcount)
+void cgit_print_tags(int maxcount)
 {
 	struct reflist list;
 	int i;
ff37aabb3b5460f074f6445&follow=1'>Add x4 to LESSJune McEnroe 2020-11-04Remove modified sensitivity settingsJune McEnroe 2020-10-29Remove editJune McEnroe 2020-10-27Switch gr alias back to git rebaseJune McEnroe 2020-10-27Allow cd host: to cd to same path over sshJune McEnroe 2020-10-27Use SendEnv for cd host:pathJune McEnroe 2020-10-27Allow cd host:path over sshJune McEnroe 2020-10-07Use mandoc -T utf8 for text.June McEnroe 2020-09-20Add The Awakened KingdomJune McEnroe 2020-09-12Move /opt/local back, cheat port select to use system manJune McEnroe 2020-09-12Move /opt/local behind /usr againJune McEnroe 2020-09-12Enable toc in cgit renderings of man pagesJune McEnroe 2020-09-11Install mandoc on macOSJune McEnroe 2020-09-11Rewrite install script yet againJune McEnroe 2020-09-11Remove NetBSD from install scriptJune McEnroe 2020-09-11Use MacPorts rather than pkgsrcJune McEnroe 2020-09-11Add debian VM name to sshJune McEnroe 2020-09-11Add influencer tweetJune McEnroe 2020-09-10Add The Kingdom of GodsJune McEnroe 2020-09-07Add SunglassesJune McEnroe 2020-09-06Add Between the BreathsJune McEnroe 2020-09-04Open /dev/tty in nudgeJune McEnroe 2020-09-04Add nudgeJune McEnroe 2020-09-03Build fbclock with -lzJune McEnroe 2020-08-29Add tweets from retweetsJune McEnroe