diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2010-12-23 12:47:55 +0100 |
---|---|---|
committer | Lars Hjemli <hjemli@gmail.com> | 2011-02-19 14:41:39 +0100 |
commit | e52040bf90b034aebbfa32756638a24d6b1b3712 (patch) | |
tree | ba2db3037cb486fb40a8c85a62b5a393d5035924 /ui-diff.h | |
parent | implement repo.logo and repo.logo-link (diff) | |
download | cgit-pink-e52040bf90b034aebbfa32756638a24d6b1b3712.tar.gz cgit-pink-e52040bf90b034aebbfa32756638a24d6b1b3712.zip |
ssdiff: anchors for ssdiff
Emit anchors to the respective revisions in side-by-side diff view Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Diffstat (limited to '')
-rw-r--r-- | ui-diff.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ui-diff.h b/ui-diff.h index 70b2926..12d0c62 100644 --- a/ui-diff.h +++ b/ui-diff.h @@ -7,4 +7,10 @@ extern void cgit_print_diffstat(const unsigned char *old_sha1, extern void cgit_print_diff(const char *new_hex, const char *old_hex, const char *prefix); +extern struct diff_filespec *cgit_get_current_old_file(void); +extern struct diff_filespec *cgit_get_current_new_file(void); + +extern unsigned char old_rev_sha1[20]; +extern unsigned char new_rev_sha1[20]; + #endif /* UI_DIFF_H */ |