mirror of
https://git.proxmox.com/git/libgit2
synced 2025-06-20 00:01:10 +00:00
refdb_fs: implement the fully-peeled trait
This commit is contained in:
parent
7edb9071da
commit
3bb00f3360
@ -677,13 +677,6 @@ static int packed_find_peel(refdb_fs_backend *backend, struct packref *ref)
|
||||
if (ref->flags & GIT_PACKREF_HAS_PEEL)
|
||||
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
|
||||
*/
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user