diff options
author | Vicent Marti <tanoku@gmail.com> | 2013-05-02 17:17:46 +0200 |
---|---|---|
committer | Vicent Marti <tanoku@gmail.com> | 2013-05-02 17:17:46 +0200 |
commit | 3bb00f3360bd11a48e1b04dc7dec971f0019891f (patch) | |
tree | e52cc709a490ddbf9bd8d197b3ac6888bddafe41 | |
parent | 7edb9071da8e78e8cf9aff969f1b8137bca3c33d (diff) | |
download | libgit2-3bb00f3360bd11a48e1b04dc7dec971f0019891f.tar.gz |
refdb_fs: implement the fully-peeled trait
-rw-r--r-- | src/refdb_fs.c | 7 | ||||
-rw-r--r-- | src/refs.h | 2 |
2 files changed, 1 insertions, 8 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) diff --git a/src/refs.h b/src/refs.h index 908e86f29..927bc83ce 100644 --- a/src/refs.h +++ b/src/refs.h @@ -26,7 +26,7 @@ #define GIT_SYMREF "ref: " #define GIT_PACKEDREFS_FILE "packed-refs" -#define GIT_PACKEDREFS_HEADER "# pack-refs with: peeled " +#define GIT_PACKEDREFS_HEADER "# pack-refs with: peeled fully-peeled" #define GIT_PACKEDREFS_FILE_MODE 0666 #define GIT_HEAD_FILE "HEAD" |