about summary refs log tree commit diff
path: root/third_party/cgit/ui-atom.c
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/cgit/ui-atom.c')
-rw-r--r--third_party/cgit/ui-atom.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/third_party/cgit/ui-atom.c b/third_party/cgit/ui-atom.c
index 0cf8441d4691..fefbc798093b 100644
--- a/third_party/cgit/ui-atom.c
+++ b/third_party/cgit/ui-atom.c
@@ -97,7 +97,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;