Do not link with -lcrypto under NO_OPENSSL
[gitweb.git] / diff.c
diff --git a/diff.c b/diff.c
index 095a238636d6dc3cc0ed17539470e18886e3f583..b829c033534f0631dd1a40eb0e2e1097a6f10cf4 100644 (file)
--- a/diff.c
+++ b/diff.c
@@ -3870,7 +3870,7 @@ static int diff_get_patch_id(struct diff_options *options, unsigned char *sha1)
 
                xpp.flags = 0;
                xecfg.ctxlen = 3;
-               xecfg.flags = XDL_EMIT_FUNCNAMES;
+               xecfg.flags = 0;
                xdi_diff_outf(&mf1, &mf2, patch_id_consume, &data,
                              &xpp, &xecfg);
        }