commit - fd42ca98a7bf3d1919a812ebc4391336ae6f0bed
commit + 9dabce8a40d592a5f30843b4cacede063f7e7f56
blob - 5d07e74d868098aab6819c41c9499f0f1b30040c
blob + 6981d494b1cf990c4ab4dcc08aa1dd2fcf9e9e38
--- include/diff/diff_output.h
+++ include/diff/diff_output.h
#include <diff/diff_main.h>
struct diff_input_info {
- const char *arbitrary_info;
const char *left_path;
const char *right_path;
};
blob - 4c76a249cac3df710e57ed404bb9a918acf41870
blob + 73727fdb051ba22832e667597be76eb7af2da131
--- lib/diff_output.c
+++ lib/diff_output.c
enum diff_rc diff_output_info(FILE *dest, const struct diff_input_info *info)
{
- if (info->arbitrary_info && *info->arbitrary_info)
- fprintf(dest, "%s", info->arbitrary_info);
fprintf(dest, "--- %s\n+++ %s\n",
info->left_path ? : "a",
info->right_path ? : "b");