summaryrefslogtreecommitdiff
path: root/diff.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2010-11-24 12:46:26 -0800
committerJunio C Hamano <gitster@pobox.com>2010-11-24 12:46:26 -0800
commit9cffe2018a8c400cbd50a8aec4eddea97c4ede2f (patch)
tree2611de762d5c014f6e386b284002b2a8006832fe /diff.c
parent78bce6c7e93f4c8797da06cf93f59b7ac8e84ec0 (diff)
parentc099789bb01b810e40f9cfaa5c842ed568110fc8 (diff)
downloadgit-9cffe2018a8c400cbd50a8aec4eddea97c4ede2f.tar.gz
Merge branch 'cb/diff-fname-optim' into maint
* cb/diff-fname-optim: diff: avoid repeated scanning while looking for funcname do not search functions for patch ID add rebase patch id tests
Diffstat (limited to 'diff.c')
-rw-r--r--diff.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/diff.c b/diff.c
index 095a238636..b829c03353 100644
--- 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);
}