X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/4c520cefc90b10566fcc8a0b006287494a7770e1..HEAD:/ui-atom.c diff --git a/ui-atom.c b/ui-atom.c index 5f4ad7d..0659e96 100644 --- a/ui-atom.c +++ b/ui-atom.c @@ -6,6 +6,8 @@ * (see COPYING for full license text) */ +#define USE_THE_REPOSITORY_VARIABLE + #include "cgit.h" #include "ui-atom.h" #include "html.h" @@ -97,7 +99,7 @@ void cgit_print_atom(char *tip, const char *path, int max_count) argv[argc++] = path; } - init_revisions(&rev, NULL); + repo_init_revisions(the_repository, &rev, NULL); rev.abbrev = DEFAULT_ABBREV; rev.commit_format = CMIT_FMT_DEFAULT; rev.verbose_header = 1;