diff options
Diffstat (limited to 'examples/showindex.c')
-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 7f7c38379..ad4a16e8e 100644 --- a/examples/showindex.c +++ b/examples/showindex.c @@ -49,7 +49,7 @@ int main (int argc, char** argv) for (i = 0; i < ecount; ++i) { const git_index_entry *e = git_index_get_byindex(index, i); - git_oid_fmt(out, &e->oid); + git_oid_fmt(out, &e->id); printf("File Path: %s\n", e->path); printf(" Stage: %d\n", git_index_entry_stage(e)); |