diff options
author | Vicent Martà <vicent@github.com> | 2013-11-04 20:05:55 +0400 |
---|---|---|
committer | Vicent Martà <vicent@github.com> | 2013-11-04 20:05:55 +0400 |
commit | 5a0b88036f612ce7e9cdc24517c9b9eb6100a3d7 (patch) | |
tree | 835825d113deeceef856702bfd7b427648579b4d /examples | |
parent | becb13c0f04c4ba54cf27303136293dbf8abfd73 (diff) | |
parent | 3e57069e821ecf966c3de9c79923cd77657e923b (diff) |
Merge pull request #1929 from libgit2/rb/misc-diff-fixes
Fix some observed problems with incorrect diffs
Diffstat (limited to 'examples')
-rw-r--r-- | examples/showindex.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/showindex.c b/examples/showindex.c index bf852384c..f4c92f068 100644 --- a/examples/showindex.c +++ b/examples/showindex.c @@ -33,7 +33,7 @@ int main (int argc, char** argv) git_repository_free(repo); } - git_index_read(index); + git_index_read(index, 0); ecount = git_index_entrycount(index); if (!ecount) |