summaryrefslogtreecommitdiff
path: root/refs.c
diff options
context:
space:
mode:
authorMichael Haggerty <mhagger@alum.mit.edu>2011-12-12 05:38:08 (GMT)
committerJunio C Hamano <gitster@pobox.com>2011-12-12 17:08:51 (GMT)
commitc49b039bdd7ac1942176009a966ada8f693d2df7 (patch)
tree05d49582922b51b67f1143492d7a368e9c1809e3 /refs.c
parent9859a023fef30ffebdd22ad9639c587ac720b8b6 (diff)
downloadgit-c49b039bdd7ac1942176009a966ada8f693d2df7.zip
git-c49b039bdd7ac1942176009a966ada8f693d2df7.tar.gz
git-c49b039bdd7ac1942176009a966ada8f693d2df7.tar.bz2
struct ref_entry: document name member
Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'refs.c')
-rw-r--r--refs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/refs.c b/refs.c
index f5cb297..669782f 100644
--- a/refs.c
+++ b/refs.c
@@ -11,6 +11,7 @@ struct ref_entry {
unsigned char flag; /* ISSYMREF? ISPACKED? */
unsigned char sha1[20];
unsigned char peeled[20];
+ /* The full name of the reference (e.g., "refs/heads/master"): */
char name[FLEX_ARRAY];
};