diff options
| author | Junio C Hamano <gitster@pobox.com> | 2008-11-08 16:05:39 -0800 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2008-11-08 16:05:39 -0800 |
| commit | 1e2bba92d21d9c72d4a6816c3a98a22779856f9e (patch) | |
| tree | 94f9729fb9c5ea36d305ffaeac22f9e957998f4d /combine-diff.c | |
| parent | 6abe9c87c78d4925e12e609f4f26447c6a579b9e (diff) | |
| parent | cdcab133ea75e0bd5c2279ce6c5718f4af4d9a03 (diff) | |
| download | git-1e2bba92d21d9c72d4a6816c3a98a22779856f9e.tar.gz | |
Merge branch 'rs/blame'
* rs/blame:
blame: use xdi_diff_hunks(), get rid of struct patch
add xdi_diff_hunks() for callers that only need hunk lengths
Allow alternate "low-level" emit function from xdl_diff
Always initialize xpparam_t to 0
blame: inline get_patch()
Diffstat (limited to 'combine-diff.c')
| -rw-r--r-- | combine-diff.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/combine-diff.c b/combine-diff.c index 5aa1104d34..ec8df39bb0 100644 --- a/combine-diff.c +++ b/combine-diff.c @@ -213,6 +213,7 @@ static void combine_diff(const unsigned char *parent, mmfile_t *result_file, parent_file.ptr = grab_blob(parent, &sz); parent_file.size = sz; + memset(&xpp, 0, sizeof(xpp)); xpp.flags = XDF_NEED_MINIMAL; memset(&xecfg, 0, sizeof(xecfg)); memset(&state, 0, sizeof(state)); |
