diff options
author | Vicent Martà <tanoku@gmail.com> | 2012-02-17 03:13:34 +0400 |
---|---|---|
committer | Vicent Martà <tanoku@gmail.com> | 2012-03-06 03:43:10 +0400 |
commit | 1a48112342932e9fcd45a1ff5935f1c9c53b83d1 (patch) | |
tree | fbb18cfe64e65025c6e1790972d1a106eea4cc54 /src/odb_pack.c | |
parent | 45d387ac78bcf3167d69b736d0b322717bc492d4 (diff) |
error-handling: References
Yes, this is error handling solely for `refs.c`, but some of the
abstractions leak all ofer the code base.
Diffstat (limited to 'src/odb_pack.c')
-rw-r--r-- | src/odb_pack.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/odb_pack.c b/src/odb_pack.c index 249144a3a..159c88685 100644 --- a/src/odb_pack.c +++ b/src/odb_pack.c @@ -469,7 +469,7 @@ int git_odb_backend_pack(git_odb_backend **backend_out, const char *objects_dir) if (error < GIT_SUCCESS) goto cleanup; - if (git_path_isdir(git_buf_cstr(&path)) == GIT_SUCCESS) { + if (git_path_isdir(git_buf_cstr(&path)) == true) { backend->pack_folder = git_buf_detach(&path); backend->pack_folder_mtime = 0; } |