Unidiff1 files changed, 0 insertions, 6 deletions
|
diff --git a/ui-diff.c b/ui-diff.c index 625b5fd..12e78b1 100644 --- a/ ui-diff.c+++ b/ ui-diff.c |
|
@@ -259,10 +259,4 @@ void cgit_print_diff(const char *new_rev, const char *old_rev, const char *prefi |
259 | return; |
259 | return; |
260 | } |
260 | } |
261 | if (type != OBJ_COMMIT) { |
| |
262 | cgit_print_error(fmt("Unhandled object type: %s", |
| |
263 | typename(type))); |
| |
264 | return; |
| |
265 | } |
| |
266 | |
| |
267 | commit = lookup_commit_reference(new_rev_sha1); |
261 | commit = lookup_commit_reference(new_rev_sha1); |
268 | if (!commit || parse_commit(commit)) |
262 | if (!commit || parse_commit(commit)) |
|