author | Lars Hjemli <hjemli@gmail.com> | 2008-03-24 00:00:36 (UTC) |
---|---|---|
committer | Lars Hjemli <hjemli@gmail.com> | 2008-03-24 00:01:28 (UTC) |
commit | b608e88adb6f77328288afb6dd0eddf674fc9b5b (patch) (side-by-side diff) | |
tree | e194a466ba00d67bc037c76329ca050e84e1223b /ui-patch.c | |
parent | f3c1a187fe2bc33f8423cd535d5045899699995b (diff) | |
download | cgit-b608e88adb6f77328288afb6dd0eddf674fc9b5b.zip cgit-b608e88adb6f77328288afb6dd0eddf674fc9b5b.tar.gz cgit-b608e88adb6f77328288afb6dd0eddf674fc9b5b.tar.bz2 |
Remove obsolete cacheitem parameter to ui-functions
This parameter hasn't been used for a very long time...
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
-rw-r--r-- | ui-patch.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -64,17 +64,17 @@ static void filepair_cb(struct diff_filepair *pair) if (S_ISGITLINK(pair->two->mode)) print_line(fmt("+Subproject %s", sha1_to_hex(pair->two->sha1)), 52); return; } if (cgit_diff_files(pair->one->sha1, pair->two->sha1, print_line)) html("Error running diff"); } -void cgit_print_patch(char *hex, struct cacheitem *item) +void cgit_print_patch(char *hex) { struct commit *commit; struct commitinfo *info; unsigned char sha1[20], old_sha1[20]; char *patchname; if (!hex) hex = ctx.qry.head; |