Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVicent Marti <tanoku@gmail.com>2013-05-02 19:17:46 +0400
committerVicent Marti <tanoku@gmail.com>2013-05-02 19:17:46 +0400
commit3bb00f3360bd11a48e1b04dc7dec971f0019891f (patch)
treee52cc709a490ddbf9bd8d197b3ac6888bddafe41 /src/refdb_fs.c
parent7edb9071da8e78e8cf9aff969f1b8137bca3c33d (diff)
refdb_fs: implement the fully-peeled trait
Diffstat (limited to 'src/refdb_fs.c')
-rw-r--r--src/refdb_fs.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/refdb_fs.c b/src/refdb_fs.c
index 9ee3568da..8a2d56327 100644
--- a/src/refdb_fs.c
+++ b/src/refdb_fs.c
@@ -678,13 +678,6 @@ static int packed_find_peel(refdb_fs_backend *backend, struct packref *ref)
return 0;
/*
- * Only applies to tags, i.e. references
- * in the /refs/tags folder
- */
- if (git__prefixcmp(ref->name, GIT_REFS_TAGS_DIR) != 0)
- return 0;
-
- /*
* Find the tagged object in the repository
*/
if (git_object_lookup(&object, backend->repo, &ref->oid, GIT_OBJ_ANY) < 0)