summaryrefslogtreecommitdiff
path: root/src/refs.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/refs.h')
-rw-r--r--src/refs.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/refs.h b/src/refs.h
index 7d63c3fbd..b0aa56a54 100644
--- a/src/refs.h
+++ b/src/refs.h
@@ -49,11 +49,14 @@
struct git_reference {
git_refdb *db;
-
git_ref_t type;
union {
- git_oid oid;
+ struct {
+ git_oid oid;
+ git_oid peel;
+ } direct;
+
char *symbolic;
} target;