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/refs.h
parent13421eee1ac89a90f45524d8158ace98aae3d0b9 (diff)
refs: Do not union the peelvmg/refs-peel
Diffstat (limited to 'src/refs.h')
-rw-r--r--src/refs.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/refs.h b/src/refs.h
index b0aa56a54..97d4d2eb5 100644
--- a/src/refs.h
+++ b/src/refs.h
@@ -52,14 +52,11 @@ struct git_reference {
git_ref_t type;
union {
- struct {
- git_oid oid;
- git_oid peel;
- } direct;
-
+ git_oid oid;
char *symbolic;
} target;
-
+
+ git_oid peel;
char name[0];
};