aboutsummaryrefslogtreecommitdiff
path: root/diff.h
diff options
context:
space:
mode:
authorDaniel Barkalow <barkalow@iabervon.org>2008-03-09 22:43:39 -0400
committerJunio C Hamano <gitster@pobox.com>2008-03-14 00:42:14 -0700
commitc0c77734bf313455364b3be7d3537d40e1138bcc (patch)
treec4f4343595ffeab4b2c84c093fa6b5b6d99738d6 /diff.h
parent1658c6149ac4462c874810c760507040122917e8 (diff)
downloadgit-c0c77734bf313455364b3be7d3537d40e1138bcc.tar.gz
git-c0c77734bf313455364b3be7d3537d40e1138bcc.tar.xz
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 9a652e7f3..f2c77391a 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;