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-04-18 01:29:34 +0400
committerVicent Marti <tanoku@gmail.com>2013-04-18 01:29:34 +0400
commitfedd0f9e90e3046a8c50f6209c37d3b4566bab10 (patch)
treec8c4558762504053faea2bb562f7dd7479a404e6 /src/refdb_fs.c
parent13421eee1ac89a90f45524d8158ace98aae3d0b9 (diff)
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);