From a2e895be820a2fd77285ef4576afe53f68c96ca2 Mon Sep 17 00:00:00 2001 From: Russell Belfer Date: Tue, 7 Feb 2012 12:14:28 -0800 Subject: Continue implementation of git-diff * Implemented git_diff_index_to_tree * Reworked git_diff_options structure to handle more options * Made most of the options in git_diff_options actually work * Reorganized code a bit to remove some redundancy * Added option parsing to examples/diff.c to test most options --- src/diff.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/diff.h') diff --git a/src/diff.h b/src/diff.h index 1bb5c36f..e7764a8e 100644 --- a/src/diff.h +++ b/src/diff.h @@ -14,8 +14,11 @@ struct git_diff_list { git_repository *repo; git_diff_options opts; - git_buf pfx; git_vector files; /* vector of git_diff_file_delta */ + + /* the following are just used while processing the diff list */ + git_buf pfx; + git_status_t mode; }; #endif -- cgit v1.2.1