diff options
author | Carlos Martín Nieto <cmn@dwim.me> | 2014-02-10 14:38:01 +0100 |
---|---|---|
committer | Carlos Martín Nieto <cmn@dwim.me> | 2014-02-10 14:38:01 +0100 |
commit | 77ad67546492f6ebe2bf53efc867d040bcd2a6a1 (patch) | |
tree | 954c5a9d5714990f3582853de1167425f75d5b47 /src | |
parent | fb52ba19ff0a620b4fd9482132206ccb4daee8e0 (diff) | |
download | libgit2-77ad67546492f6ebe2bf53efc867d040bcd2a6a1.tar.gz |
refs: conditional wording fixups
This addresses arrbee's concerns about wording in the conditional
reference udpate functions.
Diffstat (limited to 'src')
-rw-r--r-- | src/refdb_fs.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/refdb_fs.c b/src/refdb_fs.c index ea758deea..43682f40e 100644 --- a/src/refdb_fs.c +++ b/src/refdb_fs.c @@ -1018,8 +1018,8 @@ static int refdb_fs_backend__delete( { refdb_fs_backend *backend = (refdb_fs_backend *)_backend; git_buf loose_path = GIT_BUF_INIT; - size_t pack_pos -; git_filebuf file = GIT_FILEBUF_INIT; + size_t pack_pos; + git_filebuf file = GIT_FILEBUF_INIT; int error = 0, cmp = 0; bool loose_deleted = 0; @@ -1029,7 +1029,6 @@ static int refdb_fs_backend__delete( return error; error = cmp_old_ref(&cmp, _backend, ref_name, old_id, old_target); - //git_filebuf_cleanup(&file); if (error < 0) goto cleanup; |