summaryrefslogtreecommitdiff
path: root/src/refs.h
diff options
context:
space:
mode:
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];
};