diff options
| author | Edward Thomson <ethomson@edwardthomson.com> | 2012-10-29 20:04:21 -0500 |
|---|---|---|
| committer | Edward Thomson <ethomson@edwardthomson.com> | 2012-10-29 20:04:21 -0500 |
| commit | f45ec1a076e2347ba5d63eeb2d158f87b612e5cb (patch) | |
| tree | 2e2bebc12e64e6f48eabde6010bf775b3fc6cd6e /src/attr.c | |
| parent | 81eecc342b3580e9b05e501c8ee75c7e2e0dca1a (diff) | |
| download | libgit2-f45ec1a076e2347ba5d63eeb2d158f87b612e5cb.tar.gz | |
index refactoring
Diffstat (limited to 'src/attr.c')
| -rw-r--r-- | src/attr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/attr.c b/src/attr.c index 025ad3c87..f5e09cc08 100644 --- a/src/attr.c +++ b/src/attr.c @@ -307,7 +307,7 @@ static int load_attr_blob_from_index( (error = git_index_find(index, relfile)) < 0) return error; - entry = git_index_get(index, error); + entry = git_index_get_byindex(index, error); if (old_oid && git_oid_cmp(old_oid, &entry->oid) == 0) return GIT_ENOTFOUND; |
