summaryrefslogtreecommitdiff
path: root/src/refdb_fs.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/refdb_fs.c')
-rw-r--r--src/refdb_fs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/refdb_fs.c b/src/refdb_fs.c
index 140879d23..a193a9867 100644
--- a/src/refdb_fs.c
+++ b/src/refdb_fs.c
@@ -1319,7 +1319,7 @@ static int refdb_fs_backend__delete_tail(
}
/* If a loose reference exists, remove it from the filesystem */
- if (git_buf_joinpath(&loose_path, backend->gitpath, ref_name) < 0)
+ if (git_buf_joinpath(&loose_path, backend->commonpath, ref_name) < 0)
return -1;