diff options
Diffstat (limited to 'src/diff.c')
-rw-r--r-- | src/diff.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/diff.c b/src/diff.c index 524cc9f59..fed22f403 100644 --- a/src/diff.c +++ b/src/diff.c @@ -631,7 +631,7 @@ int git_diff_index_to_tree( { git_iterator *a = NULL, *b = NULL; - assert(repo && old_tree && diff); + assert(repo && diff); if (git_iterator_for_tree(repo, old_tree, &a) < 0 || git_iterator_for_index(repo, &b) < 0) |