aboutsummaryrefslogtreecommitdiff
path: root/ui-clone.c
diff refs
from: back
to: back
| flip
diff options
context:
space:
mode:
Diffstat (limited to 'ui-clone.c')
-rw-r--r--ui-clone.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/ui-clone.c b/ui-clone.c
index df196a0..5dccb63 100644
--- a/ui-clone.c
+++ b/ui-clone.c
@@ -7,8 +7,6 @@
* (see COPYING for full license text)
*/
-#define USE_THE_REPOSITORY_VARIABLE
-
#include "cgit.h"
#include "ui-clone.h"
#include "html.h"
@@ -89,8 +87,7 @@ void cgit_clone_info(void)
ctx.page.mimetype = "text/plain";
ctx.page.filename = "info/refs";
cgit_print_http_headers();
- refs_for_each_ref(get_main_ref_store(the_repository),
- print_ref_info, NULL);
+ for_each_ref(print_ref_info, NULL);
}
void cgit_clone_objects(void)