commit ad7de6a5165442ec89b9daaadb18901a981befee from: Stefan Sperling date: Thu Aug 08 07:27:38 2019 UTC remove unused function got_diff_blob_file_lines_changed() commit - 14c901f1f8f27565b91c2e8a74939c74250d8521 commit + ad7de6a5165442ec89b9daaadb18901a981befee blob - 4270950a51e56cff79acaeff89d7eab40667f9b0 blob + 6b7e4d457bb9821c3ae3352917a57558486181b0 --- lib/diff.c +++ lib/diff.c @@ -232,15 +232,6 @@ got_diff_blob_file(struct got_blob_object *blob1, FILE } const struct got_error * -got_diff_blob_file_lines_changed(struct got_diff_changes **changes, - struct got_blob_object *blob1, FILE *f2, size_t size2, - const char *label2, int diff_context) -{ - return diff_blob_file(changes, blob1, f2, size2, label2, diff_context, - NULL); -} - -const struct got_error * got_diff_blob_lines_changed(struct got_diff_changes **changes, struct got_blob_object *blob1, struct got_blob_object *blob2) { blob - e3af9a1729612641589c1819b36dbbbb23207911 blob + ce84a9b18f49d7778cef958719f92c6988e77c8c --- lib/got_lib_diff.h +++ lib/got_lib_diff.h @@ -142,8 +142,6 @@ const struct got_error *got_diffreg(int *, FILE *, FILE *, int, struct got_diff_args *, struct got_diff_state *, FILE *, struct got_diff_changes *); -const struct got_error *got_diff_blob_file_lines_changed(struct got_diff_changes **, - struct got_blob_object *, FILE *, size_t, const char *, int); const struct got_error *got_diff_blob_lines_changed(struct got_diff_changes **, struct got_blob_object *, struct got_blob_object *); void got_diff_free_changes(struct got_diff_changes *);