author | Lars Hjemli <hjemli@gmail.com> | 2006-12-20 21:48:27 (UTC) |
---|---|---|
committer | Lars Hjemli <hjemli@gmail.com> | 2006-12-20 21:48:27 (UTC) |
commit | 36aba00273e7af1b94bf8c5dd5068709d983d01e (patch) (unidiff) | |
tree | d9be4e6f27b115a799af40cad43445f63fbf2238 /cgit.h | |
parent | a53042865a4ac8b1fa1d6b37720787601e181495 (diff) | |
download | cgit-36aba00273e7af1b94bf8c5dd5068709d983d01e.zip cgit-36aba00273e7af1b94bf8c5dd5068709d983d01e.tar.gz cgit-36aba00273e7af1b94bf8c5dd5068709d983d01e.tar.bz2 |
Add basic diff view
Finally, xdiff is used to show per-file diffs via commit view.
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
-rw-r--r-- | cgit.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -57,6 +57,7 @@ extern char *cgit_query_repo; | |||
57 | extern char *cgit_query_page; | 57 | extern char *cgit_query_page; |
58 | extern char *cgit_query_head; | 58 | extern char *cgit_query_head; |
59 | extern char *cgit_query_sha1; | 59 | extern char *cgit_query_sha1; |
60 | extern char *cgit_query_sha2; | ||
60 | extern int cgit_query_ofs; | 61 | extern int cgit_query_ofs; |
61 | 62 | ||
62 | extern int htmlfd; | 63 | extern int htmlfd; |
@@ -104,5 +105,6 @@ extern void cgit_print_log(const char *tip, int ofs, int cnt); | |||
104 | extern void cgit_print_view(const char *hex); | 105 | extern void cgit_print_view(const char *hex); |
105 | extern void cgit_print_tree(const char *hex); | 106 | extern void cgit_print_tree(const char *hex); |
106 | extern void cgit_print_commit(const char *hex); | 107 | extern void cgit_print_commit(const char *hex); |
108 | extern void cgit_print_diff(const char *old_hex, const char *new_hex); | ||
107 | 109 | ||
108 | #endif /* CGIT_H */ | 110 | #endif /* CGIT_H */ |