Diff options
authorBryce Kwon <bryce@brycekwon.com>
committerBryce Kwon <bryce@brycekwon.com>
commit
parent
tree
download
Hand the side by side view its file pair
Diffstat (limited to '')
-rw-r--r--source/ui-diff.h8
1 file changed, 2 insertions, 6 deletions
diff --git a/source/ui-diff.h b/source/ui-diff.h
index 34f9599..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
@@ -20,9 +19,6 @@ extern void cgit_print_diff_ctrls(void);
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];