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-17 19:33:51 +0400
committerVicent Marti <tanoku@gmail.com>2013-04-17 19:33:51 +0400
commit3be933b143731bbe3a5cadcdf70b8ab205a629c0 (patch)
tree9688ce16cb1fa2ee16499d20e5d501a2f3d98d90 /src/refs.h
parentf124ebd457bfbf43de3516629aaba5a279636e04 (diff)
refs: Add `git_referene_target_peel`
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;