summaryrefslogtreecommitdiff
path: root/src/refdb_fs.c
diff options
context:
space:
mode:
authorVicent Marti <tanoku@gmail.com>2013-04-17 23:29:34 +0200
committerVicent Marti <tanoku@gmail.com>2013-04-17 23:29:34 +0200
commitfedd0f9e90e3046a8c50f6209c37d3b4566bab10 (patch)
treec8c4558762504053faea2bb562f7dd7479a404e6 /src/refdb_fs.c
parent13421eee1ac89a90f45524d8158ace98aae3d0b9 (diff)
downloadlibgit2-fedd0f9e90e3046a8c50f6209c37d3b4566bab10.tar.gz
refs: Do not union the peelvmg/refs-peel
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 730148a8f..784749fd3 100644
--- a/src/refdb_fs.c
+++ b/src/refdb_fs.c
@@ -645,7 +645,7 @@ static int loose_write(refdb_fs_backend *backend, const git_reference *ref)
if (ref->type == GIT_REF_OID) {
char oid[GIT_OID_HEXSZ + 1];
- git_oid_fmt(oid, &ref->target.direct.oid);
+ git_oid_fmt(oid, &ref->target.oid);
oid[GIT_OID_HEXSZ] = '\0';
git_filebuf_printf(&file, "%s\n", oid);