Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
diff: clear emitted_symbols flag after use
[gitweb.git]
/
diff.c
diff --git
a/diff.c
b/diff.c
index dc9965e836cd49c46a01293ef1d678a619b8f997..a4016087df7ad8bb28b63135a78371e0e803f527 100644
(file)
--- a/
diff.c
+++ b/
diff.c
@@
-5885,8
+5885,10
@@
static void diff_flush_patch_all_file_pairs(struct diff_options *o)
for (i = 0; i < esm.nr; i++)
free((void *)esm.buf[i].line);
+ esm.nr = 0;
+
+ o->emitted_symbols = NULL;
}
- esm.nr = 0;
}
void diff_flush(struct diff_options *options)