Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/diff.h
diff options
context:
space:
mode:
authorDaniel Barkalow <barkalow@iabervon.org>2008-03-10 05:43:39 +0300
committerJunio C Hamano <gitster@pobox.com>2008-03-14 10:42:14 +0300
commitc0c77734bf313455364b3be7d3537d40e1138bcc (patch)
treec4f4343595ffeab4b2c84c093fa6b5b6d99738d6 /diff.h
parent1658c6149ac4462c874810c760507040122917e8 (diff)
Write diff output to a file in struct diff_options
Signed-off-by: Daniel Barkalow <barkalow@iabervon.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'diff.h')
-rw-r--r--diff.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/diff.h b/diff.h
index 9a652e7f38..f2c77391a9 100644
--- a/diff.h
+++ b/diff.h
@@ -98,6 +98,9 @@ struct diff_options {
/* this is set by diffcore for DIFF_FORMAT_PATCH */
int found_changes;
+ FILE *file;
+ int close_file;
+
int nr_paths;
const char **paths;
int *pathlens;