diff options
author | Russell Belfer <arrbee@arrbee.com> | 2012-02-07 12:14:28 -0800 |
---|---|---|
committer | Russell Belfer <arrbee@arrbee.com> | 2012-03-02 15:49:29 -0800 |
commit | a2e895be820a2fd77285ef4576afe53f68c96ca2 (patch) | |
tree | a086aaaad07d11d17bec91f3660b22a96250df65 /src/diff.h | |
parent | 5a2f097fdc1408500cff9addf378f86046363665 (diff) | |
download | libgit2-a2e895be820a2fd77285ef4576afe53f68c96ca2.tar.gz |
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
Diffstat (limited to 'src/diff.h')
-rw-r--r-- | src/diff.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/diff.h b/src/diff.h index 1bb5c36f0..e7764a8eb 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 |