/*
* 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 are
* published here for it rather than kept private to the page.
*/#ifndef CGIT_UI_DIFF_H
#define CGIT_UI_DIFF_H
#include"cgit.h"// Widest context the options panel offers, and so the widest a request may// ask for, since the query string is clamped against it before the page runs.#define MAX_DIFF_CONTEXT_LINES 40externvoidcgit_print_diff_ctrls(void);
externvoidcgit_print_diff(constchar *new_rev, constchar *old_rev, constchar *prefix,
int show_ctrls, int raw);
externstruct object_id old_rev_oid[1];
externstruct object_id new_rev_oid[1];
#endif// CGIT_UI_DIFF_H