Diff options
Diffstat (limited to '')
-rw-r--r--source/ui-diff.h10
1 file changed, 3 insertions, 7 deletions
diff --git a/source/ui-diff.h b/source/ui-diff.h
index 467c79f..359fad2 100644
--- a/source/ui-diff.h
+++ b/source/ui-diff.h
@@ -1,9 +1,8 @@
/*
* The page that shows what one revision changed against another, and the
* options panel that sits above it. The side by side renderer in ui-ssdiff
- * builds a link on every line number, so the two revisions being compared and
- * the file pair being rendered are published here for it rather than kept
- * private to the page.
+ * builds a link on every line number, so the two revisions being compared are
+ * published here for it rather than kept private to the page.
*/
#ifndef CGIT_UI_DIFF_H
@@ -17,12 +16,9 @@
extern void cgit_print_diff_ctrls(void);
-extern void cgit_print_diff(const char *new_hex, const char *old_hex, const char *prefix,
+extern void cgit_print_diff(const char *new_rev, const char *old_rev, const char *prefix,
int show_ctrls, int raw);
-extern struct diff_filespec *cgit_get_current_old_file(void);
-extern struct diff_filespec *cgit_get_current_new_file(void);
-
extern struct object_id old_rev_oid[1];
extern struct object_id new_rev_oid[1];