Deploy GIT_DIFF_OPTIONS_INIT

This commit is contained in:
Ben Straub
2012-11-29 15:05:04 -08:00
parent 6917762139
commit 2f8d30becb
16 changed files with 168 additions and 33 deletions

View File

@@ -133,7 +133,7 @@ int main(int argc, char *argv[])
{
git_repository *repo = NULL;
git_tree *t1 = NULL, *t2 = NULL;
git_diff_options opts;
git_diff_options opts = GIT_DIFF_OPTIONS_INIT;
git_diff_list *diff;
int i, color = -1, compact = 0, cached = 0;
char *a, *dir = ".", *treeish1 = NULL, *treeish2 = NULL;