diff options
author | Russell Belfer <arrbee@arrbee.com> | 2012-03-16 15:56:01 -0700 |
---|---|---|
committer | Russell Belfer <arrbee@arrbee.com> | 2012-03-16 15:56:01 -0700 |
commit | 0d0fa7c3681e4ef3d0452666a9bc97d4b08391c9 (patch) | |
tree | 5e03e03bf9dc2f6125f4fb450cd3239d882b824f /src/pack.c | |
parent | 4cfe2ab60b1e26554b2bf753b06f538cb3475bd0 (diff) | |
download | libgit2-0d0fa7c3681e4ef3d0452666a9bc97d4b08391c9.tar.gz |
Convert attr, ignore, mwindow, status to new errors
Also cleaned up some previously converted code that still had
little things to polish.
Diffstat (limited to 'src/pack.c')
-rw-r--r-- | src/pack.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pack.c b/src/pack.c index 40b3ca77c..a4e506945 100644 --- a/src/pack.c +++ b/src/pack.c @@ -508,7 +508,7 @@ static int packfile_open(struct git_pack_file *p) assert(p->index_map.data); - if (!p->index_map.data && pack_index_open(p) < GIT_SUCCESS) + if (!p->index_map.data && pack_index_open(p) < 0) return git_odb__error_notfound("failed to open packfile"); /* TODO: open with noatime */ |