summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorVicent Martí <vicent@github.com>2013-11-04 08:05:55 -0800
committerVicent Martí <vicent@github.com>2013-11-04 08:05:55 -0800
commit5a0b88036f612ce7e9cdc24517c9b9eb6100a3d7 (patch)
tree835825d113deeceef856702bfd7b427648579b4d /examples
parentbecb13c0f04c4ba54cf27303136293dbf8abfd73 (diff)
parent3e57069e821ecf966c3de9c79923cd77657e923b (diff)
downloadlibgit2-5a0b88036f612ce7e9cdc24517c9b9eb6100a3d7.tar.gz
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.c2
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)